We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8da15db commit 175bb64Copy full SHA for 175bb64
lightning/src/util/wakers.rs
@@ -45,8 +45,8 @@ impl Notifier {
45
let mut lock = self.notify_pending.lock().unwrap();
46
if let Some(existing_state) = &lock.1 {
47
if existing_state.lock().unwrap().callbacks_made {
48
- // If the existing futurestate has completed and actually made callbacks, consider
49
- // the notification flag to have been cleared and reset the future state.
+ // If the existing `FutureState` has completed and actually made callbacks,
+ // consider the notification flag to have been cleared and reset the future state.
50
lock.1.take();
51
lock.0 = false;
52
}
0 commit comments