Skip to content

Commit 0098adc

Browse files
wedsonafojeda
andauthored
Update rust/kernel/sync/condvar.rs
Fix comment. Co-authored-by: Miguel Ojeda <[email protected]>
1 parent 1640a97 commit 0098adc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/kernel/sync/condvar.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ macro_rules! condvar_init {
2525
// TODO: `bindgen` is not generating this constant. Figure out why.
2626
const POLLFREE: u32 = 0x4000;
2727

28-
/// Exposes the kernel's [`struct wait_queue_head`] as a condition variable. It allows to caller to
28+
/// Exposes the kernel's [`struct wait_queue_head`] as a condition variable. It allows the caller to
2929
/// atomically release the given lock and go to sleep. It reacquires the lock when it wakes up. And
3030
/// it wakes up when notified by another thread (via [`CondVar::notify_one`] or
3131
/// [`CondVar::notify_all`]) or because the thread received a signal.

0 commit comments

Comments
 (0)