Skip to content

Commit bec2fec

Browse files
wedsonafojeda
andauthored
Update rust/kernel/user_ptr.rs
Co-authored-by: Miguel Ojeda <[email protected]>
1 parent c6a3e67 commit bec2fec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/kernel/user_ptr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ impl UserSlicePtr {
8181
///
8282
/// # Safety
8383
///
84-
/// Callers must also be careful to avoid time-of-check-time-of-use
84+
/// Callers must be careful to avoid time-of-check-time-of-use
8585
/// (TOCTOU) issues. The simplest way is to create a single instance of
8686
/// [`UserSlicePtr`] per user memory block as it reads each byte at
8787
/// most once.

0 commit comments

Comments
 (0)