Skip to content

Commit

Permalink
Export __Deref in lazy_static
Browse files Browse the repository at this point in the history
  • Loading branch information
sarsko committed Mar 29, 2024
1 parent 1874b06 commit db91d4d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lazy_static.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ use crate::runtime::storage::StorageKey;
use crate::sync::Once;
use std::marker::PhantomData;

#[doc(hidden)]
pub use core::ops::Deref as __Deref;

// `use lazy_static::lazy_static;` is valid, thus `use shuttle::lazy_static::lazy_static;` should be as well.
pub use crate::lazy_static;

Expand Down

0 comments on commit db91d4d

Please sign in to comment.