Skip to content

Commit 581eed6

Browse files
committed
rust: sync: condvar: Make clippy::undocumented_unsafe_blocks happy
Signed-off-by: Asahi Lina <[email protected]>
1 parent 8aa2b15 commit 581eed6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rust/kernel/sync/condvar.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ pub struct CondVar {
8181
_pin: PhantomPinned,
8282
}
8383

84-
// SAFETY: `CondVar` only uses a `struct wait_queue_head`, which is safe to use on any thread.
8584
#[allow(clippy::non_send_fields_in_send_ty)]
85+
// SAFETY: `CondVar` only uses a `struct wait_queue_head`, which is safe to use on any thread.
8686
unsafe impl Send for CondVar {}
8787

8888
// SAFETY: `CondVar` only uses a `struct wait_queue_head`, which is safe to use on multiple threads

0 commit comments

Comments
 (0)