mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -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