Skip to content

Commit 5b39b9e

Browse files
committed
fix keyword error
1 parent 34796c6 commit 5b39b9e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/lib.rs

+9-9
Original file line numberDiff line numberDiff line change
@@ -119,14 +119,14 @@ macro_rules! __lazy_static_internal {
119119
($(#[$attr:meta])* static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => {
120120
__lazy_static_internal!(@PRIV, $(#[$attr])* static ref $N : $T = $e; $($t)*);
121121
};
122-
($(#[$attr:meta])* pub(in $in:path) static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => {
123-
__lazy_static_internal!(@PUB_IN, $in, $(#[$attr])* static ref $N : $T = $e; $($t)*);
122+
($(#[$attr:meta])* pub(in $pub_in:path) static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => {
123+
__lazy_static_internal!(@PUB_IN, $pub_in, $(#[$attr])* static ref $N : $T = $e; $($t)*);
124124
};
125125
($(#[$attr:meta])* pub static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => {
126126
__lazy_static_internal!(@PUB, $(#[$attr])* static ref $N : $T = $e; $($t)*);
127127
};
128-
(@PUB_IN, $in:path, $(#[$attr:meta])* static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => {
129-
__lazy_static_internal!(@MAKE TY, PUB_IN, $in, $(#[$attr])*, $N);
128+
(@PUB_IN, $pub_in:path, $(#[$attr:meta])* static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => {
129+
__lazy_static_internal!(@MAKE TY, PUB_IN, $pub_in, $(#[$attr])*, $N);
130130
__lazy_static_internal!(@TAIL, $N : $T = $e);
131131
__lazy_static_internal!($($t)*);
132132
};
@@ -168,14 +168,14 @@ macro_rules! __lazy_static_internal {
168168
#[doc(hidden)]
169169
pub static $N: $N = $N {__private_field: ()};
170170
};
171-
(@MAKE TY, PUB_IN, $in:path, $(#[$attr:meta])*, $N:ident) => {
171+
(@MAKE TY, PUB_IN, $pub_in:path, $(#[$attr:meta])*, $N:ident) => {
172172
#[allow(missing_copy_implementations)]
173173
#[allow(non_camel_case_types)]
174174
#[allow(dead_code)]
175175
$(#[$attr])*
176-
pub(in $in) struct $N {__private_field: ()}
176+
pub(in $pub_in) struct $N {__private_field: ()}
177177
#[doc(hidden)]
178-
pub(in $in) static $N: $N = $N {__private_field: ()};
178+
pub(in $pub_in) static $N: $N = $N {__private_field: ()};
179179
};
180180
(@MAKE TY, PRIV, $(#[$attr:meta])*, $N:ident) => {
181181
#[allow(missing_copy_implementations)]
@@ -195,8 +195,8 @@ macro_rules! lazy_static {
195195
($(#[$attr:meta])* static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => {
196196
__lazy_static_internal!(@PRIV, $(#[$attr])* static ref $N : $T = $e; $($t)*);
197197
};
198-
($(#[$attr:meta])* pub (in $in:path) static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => {
199-
__lazy_static_internal!(@PUB_IN, $in, $(#[$attr])* static ref $N : $T = $e; $($t)*);
198+
($(#[$attr:meta])* pub (in $pub_in:path) static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => {
199+
__lazy_static_internal!(@PUB_IN, $pub_in, $(#[$attr])* static ref $N : $T = $e; $($t)*);
200200
};
201201
($(#[$attr:meta])* pub static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => {
202202
__lazy_static_internal!(@PUB, $(#[$attr])* static ref $N : $T = $e; $($t)*);

0 commit comments

Comments
 (0)