Skip to content

Commit

Permalink
Merge #1054
Browse files Browse the repository at this point in the history
1054: Remove a redundant "use libc" r=asomers a=asomers



Co-authored-by: Alan Somers <[email protected]>
  • Loading branch information
bors[bot] and asomers committed May 18, 2019
2 parents 434b866 + b33f273 commit 06d7463
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 06d7463

Please sign in to comment.