feat(rpc): expose reqwest client #7
Annotations
2 errors and 1 warning
Run giraffate/clippy-action@v1:
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__
|
Run giraffate/clippy-action@v1
reviewdog exited with status code: 1
|
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/.
|
Loading