Skip to content

Commit c082e83

Browse files
committed
rust: kernel: simplify comment to avoid mentioning the type
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
1 parent 748dfa5 commit c082e83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/kernel/delay.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fn coarse_sleep_conversion(duration: Duration) -> core::ffi::c_uint {
5252
/// coarse_sleep(Duration::new(1, 2)); // Equivalent to `msleep(1001)`.
5353
/// ```
5454
pub fn coarse_sleep(duration: Duration) {
55-
// SAFETY: `msleep` is safe for all values of an `unsigned int`.
55+
// SAFETY: `msleep` is safe for all values of its argument.
5656
unsafe { bindings::msleep(coarse_sleep_conversion(duration)) }
5757
}
5858

0 commit comments

Comments
 (0)