Skip to content

Commit bbe1a92

Browse files
committed
f docs
1 parent f610844 commit bbe1a92

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lightning/src/util/wakers.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,8 @@ impl Future {
164164
Sleeper::from_single_future(self).wait();
165165
}
166166

167-
/// Waits untilthis [`Future`] completes or the given amount of time has elapsed.
167+
/// Waits until this [`Future`] completes or the given amount of time has elapsed.
168+
///
168169
/// Returns true if the [`Future`] completed, false if the time elapsed.
169170
#[cfg(any(test, feature = "std"))]
170171
pub fn wait_timeout(self, max_wait: Duration) -> bool {

0 commit comments

Comments
 (0)