Skip to content

Commit 6144aaa

Browse files
committed
Export __Deref in lazy_static
1 parent 2fdc33f commit 6144aaa

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lazy_static.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ use crate::runtime::storage::StorageKey;
2121
use crate::sync::Once;
2222
use std::marker::PhantomData;
2323

24+
#[doc(hidden)]
25+
pub use core::ops::Deref as __Deref;
26+
2427
/// Shuttle's implementation of `lazy_static::Lazy` (aka the unstable `std::lazy::Lazy`).
2528
// Sadly, the fields of this thing need to be public because function pointers in const fns are
2629
// unstable, so an explicit instantiation is the only way to construct this struct. User code should

0 commit comments

Comments
 (0)