From cc499833140520a24496645c9bb875646988be53 Mon Sep 17 00:00:00 2001 From: Roy Ivy III Date: Sun, 29 Dec 2019 21:40:27 -0600 Subject: [PATCH] refactor/polish ~ fix `cargo clippy` complaints (allow missing_safety_doc) --- src/cp/cp.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cp/cp.rs b/src/cp/cp.rs index 454ce6869..1ef32697e 100644 --- a/src/cp/cp.rs +++ b/src/cp/cp.rs @@ -1,5 +1,7 @@ #![crate_name = "uu_cp"] +#![allow(clippy::missing_safety_doc)] + /* * This file is part of the uutils coreutils package. * @@ -61,6 +63,7 @@ use filetime::FileTime; use std::os::unix::fs::PermissionsExt; #[cfg(target_os = "linux")] +#[allow(clippy::missing_safety_doc)] ioctl!(write ficlone with 0x94, 9; std::os::raw::c_int); quick_error! {