Skip to content

Commit ad7e7f8

Browse files
committed
fmt
1 parent 958f565 commit ad7e7f8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ use alloc::sync::Arc;
7373

7474
use core::fmt;
7575
use core::future::Future;
76-
use core::mem::{ManuallyDrop, MaybeUninit, forget};
76+
use core::mem::{forget, ManuallyDrop, MaybeUninit};
7777
use core::ptr;
7878
use core::task::{Context, Poll, Waker};
7979

@@ -749,7 +749,7 @@ impl Listener {
749749
}
750750

751751
/// The task() closure may clone a user-defined waker, which can panic.
752-
///
752+
///
753753
/// This panic would leave the listener in the `WritingTask` state, which will
754754
/// lead to an infinite loop. This guard resets it back to the original state.
755755
struct ResetState<'a>(&'a AtomicUsize, State);

0 commit comments

Comments
 (0)