From 2e7254f2a60239603a2c6fea75cc71fbf6226470 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Wed, 26 Jul 2023 10:44:42 -0400 Subject: [PATCH] fix(ext/fs): fix MaybeArc when not sync_fs --- ext/fs/sync.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/fs/sync.rs b/ext/fs/sync.rs index 749e4ee02e..ca19cc7ac4 100644 --- a/ext/fs/sync.rs +++ b/ext/fs/sync.rs @@ -46,6 +46,8 @@ mod inner { #[cfg(not(feature = "sync_fs"))] mod inner { pub use std::rc::Rc as MaybeArc; + use std::ops::Deref; + use std::ops::DerefMut; pub trait MaybeSync {} impl MaybeSync for T where T: ?Sized {}