Skip to content

Commit fff6616

Browse files
committed
Fix typo lightning/src/util/wakers.rs
1 parent 9c22a48 commit fff6616

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lightning/src/util/wakers.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ mod tests {
491491
}
492492

493493
// Rather annoyingly, there's no safe way in Rust std to construct a Waker despite it being
494-
// totally possible to construct from a trait implementation (though somewhat less effecient
494+
// totally possible to construct from a trait implementation (though somewhat less efficient
495495
// compared to a raw VTable). Instead, we have to write out a lot of boilerplate to build a
496496
// waker, which we do here with a trivial Arc<AtomicBool> data element to track woke-ness.
497497
const WAKER_V_TABLE: RawWakerVTable = RawWakerVTable::new(waker_clone, wake, wake_by_ref, drop);

0 commit comments

Comments
 (0)