Skip to content

Commit

Permalink
Use stable imports (#15)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Saveau <saveau.alexandre@gmail.com>
  • Loading branch information
SUPERCILEX committed Mar 27, 2023
1 parent bbbfe20 commit 018935f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fuc_engine/src/ops/copy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ mod compat {
io,
mem::MaybeUninit,
num::NonZeroUsize,
os::fd::{AsFd, OwnedFd},
os::unix::io::{AsFd, OwnedFd},
path::Path,
thread,
thread::JoinHandle,
Expand Down
6 changes: 3 additions & 3 deletions fuc_engine/src/ops/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ mod linux {
use std::{
ffi::{CStr, CString, OsStr, OsString},
io,
os::{
fd::AsFd,
unix::ffi::{OsStrExt, OsStringExt},
os::unix::{
ffi::{OsStrExt, OsStringExt},
io::AsFd,
},
path::{Path, PathBuf, MAIN_SEPARATOR},
};
Expand Down

0 comments on commit 018935f

Please sign in to comment.