Skip to content

Commit ddca4c3

Browse files
committed
Fix warning starting with 1.35.
1 parent 228ab8f commit ddca4c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ pub fn realpath(original: &Path) -> io::Result<PathBuf> {
4444
pub fn realpath(original: &Path) -> io::Result<PathBuf> {
4545
use std::ffi::{CStr, OsString, CString};
4646
use std::os::unix::prelude::*;
47-
use libc::{self, c_char};
47+
use libc::c_char;
4848
extern {
4949
fn realpath(name: *const c_char, resolved: *mut c_char) -> *mut c_char;
5050
}

0 commit comments

Comments
 (0)