We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 748dfa5 commit c082e83Copy full SHA for c082e83
rust/kernel/delay.rs
@@ -52,7 +52,7 @@ fn coarse_sleep_conversion(duration: Duration) -> core::ffi::c_uint {
52
/// coarse_sleep(Duration::new(1, 2)); // Equivalent to `msleep(1001)`.
53
/// ```
54
pub fn coarse_sleep(duration: Duration) {
55
- // SAFETY: `msleep` is safe for all values of an `unsigned int`.
+ // SAFETY: `msleep` is safe for all values of its argument.
56
unsafe { bindings::msleep(coarse_sleep_conversion(duration)) }
57
}
58
0 commit comments