Skip to content

Commit 7a938fb

Browse files
committed
Add missing semicolons for macro expansions.
1 parent 76f06e4 commit 7a938fb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lazy_static.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,13 @@ define uninitialized `static mut` values.
7878
#[macro_export]
7979
macro_rules! lazy_static {
8080
(static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => {
81-
lazy_static!(PRIV static ref $N : $T = $e; $($t)*)
81+
lazy_static!(PRIV static ref $N : $T = $e; $($t)*);
8282
};
8383
(pub static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => {
84-
lazy_static!(PUB static ref $N : $T = $e; $($t)*)
84+
lazy_static!(PUB static ref $N : $T = $e; $($t)*);
8585
};
8686
($VIS:ident static ref $N:ident : $T:ty = $e:expr; $($t:tt)*) => {
87-
lazy_static!(MAKE TY $VIS $N)
87+
lazy_static!(MAKE TY $VIS $N);
8888
impl Deref<$T> for $N {
8989
fn deref<'a>(&'a self) -> &'a $T {
9090
use std::sync::{Once, ONCE_INIT};
@@ -105,7 +105,7 @@ macro_rules! lazy_static {
105105
}
106106
}
107107
}
108-
lazy_static!($($t)*)
108+
lazy_static!($($t)*);
109109
};
110110
(MAKE TY PUB $N:ident) => {
111111
#[allow(non_camel_case_types)]

0 commit comments

Comments
 (0)