feat!: use 'IntoFuture' trait to await futures directly without calling 'send' #368
Annotations
3 warnings
Run actions-rs-plus/clippy-check@v2:
src/endpoints/transactions/get.rs#L60
warning: the following explicit lifetimes could be elided: 'a
--> src/endpoints/transactions/get.rs:60:6
|
60 | impl<'a, C> IntoFuture for Request<'a, C>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
help: elide the lifetimes
|
60 - impl<'a, C> IntoFuture for Request<'a, C>
60 + impl<C> IntoFuture for Request<'_, C>
|
|
Run actions-rs-plus/clippy-check@v2:
src/endpoints/transactions/list.rs#L85
warning: the following explicit lifetimes could be elided: 'a
--> src/endpoints/transactions/list.rs:85:6
|
85 | impl<'a, C> IntoFuture for Request<'a, C>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
help: elide the lifetimes
|
85 - impl<'a, C> IntoFuture for Request<'a, C>
85 + impl<C> IntoFuture for Request<'_, C>
|
|
Run actions-rs-plus/clippy-check@v2:
src/endpoints/feed_items.rs#L121
warning: the following explicit lifetimes could be elided: 'a
--> src/endpoints/feed_items.rs:121:10
|
121 | impl<'a, C> IntoFuture for Request<'a, C>
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#elidable_lifetime_names
note: the lint level is defined here
--> src/lib.rs:8:9
|
8 | #![warn(clippy::pedantic)]
| ^^^^^^^^^^^^^^^^
= note: `#[warn(clippy::elidable_lifetime_names)]` implied by `#[warn(clippy::pedantic)]`
help: elide the lifetimes
|
121 - impl<'a, C> IntoFuture for Request<'a, C>
121 + impl<C> IntoFuture for Request<'_, C>
|
|
Loading