Skip to content

Commit

Permalink
Remove a redundant "use libc"
Browse files Browse the repository at this point in the history
  • Loading branch information
asomers committed May 17, 2019
1 parent 434b866 commit b33f273
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/mount.rs
Original file line number Diff line number Diff line change
@@ -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;

Expand Down Expand Up @@ -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| {
Expand Down

0 comments on commit b33f273

Please sign in to comment.