docs: Fix wait docstring
This commit is contained in:
parent
650e13205d
commit
a9e95d338a
@ -310,7 +310,7 @@ where
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// "Wait" until the count down finishes without blocking.
|
||||
/// "Wait", by blocking, until the count down finishes.
|
||||
pub fn wait(&mut self) {
|
||||
while !self.inner.is_interrupt_set() {}
|
||||
self.inner.clear_interrupt();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user