Skip to content

Commit 8b786a2

Browse files
committed
review
1 parent a35a3cc commit 8b786a2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ext/node_resolver/sync.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,9 @@ mod inner {
1515
#[cfg(not(feature = "sync"))]
1616
mod inner {
1717
pub use std::rc::Rc as MaybeArc;
18+
19+
pub trait MaybeSync {}
20+
impl<T> MaybeSync for T where T: ?Sized {}
21+
pub trait MaybeSend {}
22+
impl<T> MaybeSend for T where T: ?Sized {}
1823
}

0 commit comments

Comments
 (0)