diff options
author | Alan Somers <asomers@gmail.com> | 2019-05-17 13:26:50 -0600 |
---|---|---|
committer | Alan Somers <asomers@gmail.com> | 2019-05-17 16:22:49 -0600 |
commit | b33f273f55d5315e45f2bdca47ec1af25a540f56 (patch) | |
tree | 15f8b0286fde31554c52dadfffcf5564c79f0a4e /src | |
parent | 434b8669a11eed573968781c6732d9eccd24b765 (diff) | |
download | nix-b33f273f55d5315e45f2bdca47ec1af25a540f56.zip |
Remove a redundant "use libc"
Diffstat (limited to 'src')
-rw-r--r-- | src/mount.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/mount.rs b/src/mount.rs index 72b719d7..a9902b17 100644 --- a/src/mount.rs +++ b/src/mount.rs @@ -1,5 +1,4 @@ -use libc::{c_ulong, c_int}; -use libc; +use libc::{self, c_ulong, c_int}; use {Result, NixPath}; use errno::Errno; @@ -61,7 +60,6 @@ pub fn mount<P1: ?Sized + NixPath, P2: ?Sized + NixPath, P3: ?Sized + NixPath, P fstype: Option<&P3>, flags: MsFlags, data: Option<&P4>) -> Result<()> { - use libc; let res = source.with_nix_path(|source| { |