summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Mastracci <matthew@mastracci.com>2023-07-26 11:33:42 -0400
committerGitHub <noreply@github.com>2023-07-26 15:33:42 +0000
commit53e077133f9c95e4ed23d838129158b6e4b88d6f (patch)
treef3567b689549b19af5b53e94cef7c1c61babc6a4
parent89ba3f820cdf2c9b497ffb777ebe692360b713b6 (diff)
fix(ext/fs): fix MaybeArc when not sync_fs (#19950)
-rw-r--r--ext/fs/sync.rs2
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 {}