1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-24 15:19:26 -05:00

fix(ext/fs): fix MaybeArc when not sync_fs

This commit is contained in:
Matt Mastracci 2023-07-26 10:44:42 -04:00
parent a94be517a4
commit 2e7254f2a6

View file

@ -46,6 +46,8 @@ mod inner {
#[cfg(not(feature = "sync_fs"))] #[cfg(not(feature = "sync_fs"))]
mod inner { mod inner {
pub use std::rc::Rc as MaybeArc; pub use std::rc::Rc as MaybeArc;
use std::ops::Deref;
use std::ops::DerefMut;
pub trait MaybeSync {} pub trait MaybeSync {}
impl<T> MaybeSync for T where T: ?Sized {} impl<T> MaybeSync for T where T: ?Sized {}