Skip to content

Commit 06d7463

Browse files
bors[bot]asomers
andcommitted
Merge #1054
1054: Remove a redundant "use libc" r=asomers a=asomers Co-authored-by: Alan Somers <[email protected]>
2 parents 434b866 + b33f273 commit 06d7463

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/mount.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
use libc::{c_ulong, c_int};
2-
use libc;
1+
use libc::{self, c_ulong, c_int};
32
use {Result, NixPath};
43
use errno::Errno;
54

@@ -61,7 +60,6 @@ pub fn mount<P1: ?Sized + NixPath, P2: ?Sized + NixPath, P3: ?Sized + NixPath, P
6160
fstype: Option<&P3>,
6261
flags: MsFlags,
6362
data: Option<&P4>) -> Result<()> {
64-
use libc;
6563

6664
let res =
6765
source.with_nix_path(|source| {

0 commit comments

Comments
 (0)