fix(sync) - Remove 'unused import' on mac

This commit is contained in:
Sylvestre Ledru 2020-12-13 18:02:33 +01:00
parent b687a2742c
commit d9cf0374be

View file

@ -28,7 +28,9 @@ static ARG_FILES: &str = "files";
#[cfg(unix)]
mod platform {
use super::libc;
#[cfg(target_os = "linux")]
use std::fs::File;
#[cfg(target_os = "linux")]
use std::os::unix::io::AsRawFd;
pub unsafe fn do_sync() -> isize {