Skip to content

Commit 2bd27c3

Browse files
committed
fix(dir-structure): fix build of --no-default-features
1 parent 6c2aeff commit 2bd27c3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/dev/dir-structure/src/vfs/fs_vfs.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,7 @@ use std::fs;
66
use std::path::Path;
77
use std::path::PathBuf;
88
use std::pin::Pin;
9-
use std::sync::atomic::AtomicU64;
109

11-
use crate::atomic_dir::TempDirApi;
12-
use crate::atomic_dir::VfsSupportsTemporaryDirectories;
1310
use crate::error::Result;
1411
use crate::error::VfsResult;
1512
use crate::error::WrapIoError;
@@ -139,7 +136,11 @@ mod imp {
139136
pub(crate) mod atomic_dir_imp {
140137
//! The [`VfsSupportsTemporaryDirectories`] implementation for the [`FsVfs`] file system.
141138
139+
use std::sync::atomic::AtomicU64;
140+
142141
use super::*;
142+
use crate::atomic_dir::TempDirApi;
143+
use crate::atomic_dir::VfsSupportsTemporaryDirectories;
143144

144145
/// A temporary directory in the real file system.
145146
pub struct TempDir(PathBuf);

0 commit comments

Comments
 (0)