Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
``` warning: impl trait in impl method signature does not match trait method signature --> lightway-client/src/keepalive.rs:360:41 | 29 | fn sleep_for_interval(&self) -> impl std::future::Future<Output = ()> + std::marker::Send; | --------------------------------------------------------- return type from trait method defined here ... 360 | fn sleep_for_interval(&self) -> futures::future::BoxFuture<()> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: add `#[allow(refining_impl_trait)]` if it is intended for this to be part of the public API of this crate = note: we are soliciting feedback, see issue #121718 <rust-lang/rust#121718> for more information = note: `#[warn(refining_impl_trait_internal)]` on by default help: replace the return type so that it matches the trait | 360 | fn sleep_for_interval(&self) -> impl futures::Future<Output = ()> + std::marker::Send { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ```
- Loading branch information