We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cf2e9a commit 988aa35Copy full SHA for 988aa35
src/lazy_static.rs
@@ -108,15 +108,13 @@ macro_rules! lazy_static {
108
#[allow(non_camel_case_types)]
109
#[allow(dead_code)]
110
pub struct $N {__private_field: ()}
111
- #[allow(dead_code)]
112
pub static $N: $N = $N {__private_field: ()};
113
};
114
(MAKE TY PRIV $N:ident) => {
115
#[allow(missing_copy_implementations)]
116
117
118
struct $N {__private_field: ()}
119
120
static $N: $N = $N {__private_field: ()};
121
122
() => ()
0 commit comments