File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ impl<T: Sync> Lazy<T> {
2121unsafe impl < T : Sync > Sync for Lazy < T > { }
2222
2323#[ macro_export]
24- macro_rules! lazy_static_create {
24+ macro_rules! __lazy_static_create {
2525 ( $NAME: ident, $T: ty) => {
2626 use std:: sync:: ONCE_INIT ;
2727 static mut $NAME: $crate:: lazy:: Lazy <$T> = $crate:: lazy:: Lazy ( 0 as * const $T, ONCE_INIT ) ;
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ macro_rules! lazy_static {
9696
9797 #[ inline( always) ]
9898 unsafe fn __stability( ) -> & ' static $T {
99- lazy_static_create !( LAZY , $T) ;
99+ __lazy_static_create !( LAZY , $T) ;
100100 LAZY . get( __static_ref_initialize)
101101 }
102102 __stability( )
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ impl<T: Sync> Lazy<T> {
3131unsafe impl < T : Sync > Sync for Lazy < T > { }
3232
3333#[ macro_export]
34- macro_rules! lazy_static_create {
34+ macro_rules! __lazy_static_create {
3535 ( $NAME: ident, $T: ty) => {
3636 static $NAME: $crate:: lazy:: Lazy <$T> = $crate:: lazy:: Lazy :: new( ) ;
3737 }
You can’t perform that action at this time.
0 commit comments