mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 03:27:44 +00:00
Remove unused imports.
This commit is contained in:
parent
6bae2688f3
commit
8fe3eac087
2 changed files with 1 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
extern crate libc;
|
extern crate libc;
|
||||||
|
|
||||||
use std::io::Write;
|
use std::io::Write;
|
||||||
use std::path::{Path, PathBuf};
|
use std::path::Path;
|
||||||
|
|
||||||
/// Takes a user-supplied string and tries to parse to u16 mode bitmask.
|
/// Takes a user-supplied string and tries to parse to u16 mode bitmask.
|
||||||
pub fn parse(mode_string: &str, considering_dir: bool) -> Result<libc::mode_t, String> {
|
pub fn parse(mode_string: &str, considering_dir: bool) -> Result<libc::mode_t, String> {
|
||||||
|
|
|
@ -10,8 +10,6 @@ use self::libc::{
|
||||||
};
|
};
|
||||||
pub use self::libc::passwd as c_passwd;
|
pub use self::libc::passwd as c_passwd;
|
||||||
|
|
||||||
#[cfg(any(target_os = "macos", target_os = "freebsd"))]
|
|
||||||
use self::libc::time_t;
|
|
||||||
#[cfg(target_os = "macos")]
|
#[cfg(target_os = "macos")]
|
||||||
use self::libc::int32_t;
|
use self::libc::int32_t;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue