Skip to content

Commit

Permalink
fix(ext/fs): fix MaybeArc when not sync_fs
Browse files Browse the repository at this point in the history
  • Loading branch information
mmastrac committed Jul 26, 2023
1 parent a94be51 commit 2e7254f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext/fs/sync.rs
Expand Up @@ -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<T> MaybeSync for T where T: ?Sized {}
Expand Down

0 comments on commit 2e7254f

Please sign in to comment.