1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-04 15:07:47 +00:00

refactor/polish ~ fix cargo clippy complaints (allow missing_safety_doc)

This commit is contained in:
Roy Ivy III 2019-12-29 21:40:27 -06:00
parent df68c396c4
commit cc49983314

View file

@ -1,5 +1,7 @@
#![crate_name = "uu_cp"] #![crate_name = "uu_cp"]
#![allow(clippy::missing_safety_doc)]
/* /*
* This file is part of the uutils coreutils package. * This file is part of the uutils coreutils package.
* *
@ -61,6 +63,7 @@ use filetime::FileTime;
use std::os::unix::fs::PermissionsExt; use std::os::unix::fs::PermissionsExt;
#[cfg(target_os = "linux")] #[cfg(target_os = "linux")]
#[allow(clippy::missing_safety_doc)]
ioctl!(write ficlone with 0x94, 9; std::os::raw::c_int); ioctl!(write ficlone with 0x94, 9; std::os::raw::c_int);
quick_error! { quick_error! {