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:
parent
df68c396c4
commit
cc49983314
1 changed files with 3 additions and 0 deletions
|
@ -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! {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue