From fff6616b7c244e23da320db83e2e4cc996ee7bfb Mon Sep 17 00:00:00 2001 From: shuoer86 <129674997+shuoer86@users.noreply.github.com> Date: Fri, 12 Jan 2024 20:46:47 +0800 Subject: [PATCH] Fix typo lightning/src/util/wakers.rs --- lightning/src/util/wakers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lightning/src/util/wakers.rs b/lightning/src/util/wakers.rs index 37c036da9..14e6bbe64 100644 --- a/lightning/src/util/wakers.rs +++ b/lightning/src/util/wakers.rs @@ -491,7 +491,7 @@ mod tests { } // Rather annoyingly, there's no safe way in Rust std to construct a Waker despite it being - // totally possible to construct from a trait implementation (though somewhat less effecient + // totally possible to construct from a trait implementation (though somewhat less efficient // compared to a raw VTable). Instead, we have to write out a lot of boilerplate to build a // waker, which we do here with a trivial Arc data element to track woke-ness. const WAKER_V_TABLE: RawWakerVTable = RawWakerVTable::new(waker_clone, wake, wake_by_ref, drop); -- 2.39.5