feat(rpc): expose reqwest client #7
rust.yml
on: pull_request
cleanup-runs
8s
fmt
10s
clippy-json-output
1m 16s
clippy-tools-output
39s
docs
1m 11s
Annotations
3 errors and 2 warnings
clippy-tools-output:
rpc/src/client/transport/http.rs#L99
[clippy] reported by reviewdog 🐶
error[E0308]: mismatched types
--> /home/runner/work/tendermint-rs/tendermint-rs/rpc/src/client/transport/http.rs:99:23
|
99 | self.client = client;
| ----------- ^^^^^^ expected `Option<Client>`, found `Client`
| |
| expected due to the type of this binding
|
= note: expected enum `core::option::Option<reqwest::Client>`
found struct `reqwest::Client`
help: try wrapping the expression in `core::prelude::v1::Some`
|
99 | self.client = core::prelude::v1::Some(client);
| ++++++++++++++++++++++++ +
Raw Output:
/home/runner/work/tendermint-rs/tendermint-rs/rpc/src/client/transport/http.rs:99:23:e:error[E0308]: mismatched types
--> /home/runner/work/tendermint-rs/tendermint-rs/rpc/src/client/transport/http.rs:99:23
|
99 | self.client = client;
| ----------- ^^^^^^ expected `Option<Client>`, found `Client`
| |
| expected due to the type of this binding
|
= note: expected enum `core::option::Option<reqwest::Client>`
found struct `reqwest::Client`
help: try wrapping the expression in `core::prelude::v1::Some`
|
99 | self.client = core::prelude::v1::Some(client);
| ++++++++++++++++++++++++ +
__END__
|
clippy-tools-output
reviewdog exited with status code: 1
|
docs
Process completed with exit code 101.
|
clippy-tools-output
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
clippy-json-output
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|