We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fdc33f commit 1874b06Copy full SHA for 1874b06
src/lazy_static.rs
@@ -21,6 +21,9 @@ use crate::runtime::storage::StorageKey;
21
use crate::sync::Once;
22
use std::marker::PhantomData;
23
24
+// `use lazy_static::lazy_static;` is valid, thus `use shuttle::lazy_static::lazy_static;` should be as well.
25
+pub use crate::lazy_static;
26
+
27
/// Shuttle's implementation of `lazy_static::Lazy` (aka the unstable `std::lazy::Lazy`).
28
// Sadly, the fields of this thing need to be public because function pointers in const fns are
29
// unstable, so an explicit instantiation is the only way to construct this struct. User code should
0 commit comments