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 9cc5fc5 commit b722564Copy full SHA for b722564
src/devno.rs
@@ -20,7 +20,7 @@ impl BlkidDevno {
20
21
/// Create a `BlkidDevno` from major and minor numbers.
22
pub fn from_device_numbers(major: libc::c_uint, minor: libc::c_uint) -> Self {
23
- #[allow(unused_unsafe)] // No longer unsafe in libc 0.2.133
+ #[allow(unused_unsafe, reason = "No longer unsafe in libc 0.2.133")]
24
BlkidDevno(unsafe { libc::makedev(major, minor) })
25
}
26
0 commit comments