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:
parent
a94be517a4
commit
2e7254f2a6
1 changed files with 2 additions and 0 deletions
|
@ -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 {}
|
||||
|
|
Loading…
Reference in a new issue