mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-07-30 16:31:57 +00:00
Automatic fixes by cargo-fix (#1662)
This commit is contained in:
@@ -278,7 +278,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
|
||||
// Kick it off
|
||||
let mut listening = false;
|
||||
task::block_on(future::poll_fn(move |cx: &mut Context| {
|
||||
task::block_on(future::poll_fn(move |cx: &mut Context<'_>| {
|
||||
loop {
|
||||
match stdin.try_poll_next_unpin(cx)? {
|
||||
Poll::Ready(Some(line)) => {
|
||||
|
Reference in New Issue
Block a user