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 f610844 commit bbe1a92Copy full SHA for bbe1a92
lightning/src/util/wakers.rs
@@ -164,7 +164,8 @@ impl Future {
164
Sleeper::from_single_future(self).wait();
165
}
166
167
- /// Waits untilthis [`Future`] completes or the given amount of time has elapsed.
+ /// Waits until this [`Future`] completes or the given amount of time has elapsed.
168
+ ///
169
/// Returns true if the [`Future`] completed, false if the time elapsed.
170
#[cfg(any(test, feature = "std"))]
171
pub fn wait_timeout(self, max_wait: Duration) -> bool {
0 commit comments