diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-07-26 11:33:42 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-26 15:33:42 +0000 |
commit | 53e077133f9c95e4ed23d838129158b6e4b88d6f (patch) | |
tree | f3567b689549b19af5b53e94cef7c1c61babc6a4 | |
parent | 89ba3f820cdf2c9b497ffb777ebe692360b713b6 (diff) |
fix(ext/fs): fix MaybeArc when not sync_fs (#19950)
-rw-r--r-- | ext/fs/sync.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/fs/sync.rs b/ext/fs/sync.rs index 749e4ee02..091ea076c 100644 --- a/ext/fs/sync.rs +++ b/ext/fs/sync.rs @@ -45,6 +45,8 @@ mod inner { #[cfg(not(feature = "sync_fs"))] mod inner { + use std::ops::Deref; + use std::ops::DerefMut; pub use std::rc::Rc as MaybeArc; pub trait MaybeSync {} |