]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_data_structures/macros.rs
Rollup merge of #68424 - estebank:suggest-borrow-for-non-copy-vec, r=davidtwco
[rust.git] / src / librustc_data_structures / macros.rs
index 3f75523a81584a7bc62330d01ab267200f68ec75..83e6dbedee226165eb05c8fea92cd4953a51fded 100644 (file)
@@ -7,7 +7,7 @@ macro_rules! static_assert {
         // is out-of-bounds.
         #[allow(dead_code)]
         const _: () = [()][!($test: bool) as usize];
-    }
+    };
 }
 
 /// Type size assertion. The first argument is a type and the second argument is its expected size.
@@ -15,5 +15,5 @@ macro_rules! static_assert {
 macro_rules! static_assert_size {
     ($ty:ty, $size:expr) => {
         const _: [(); $size] = [(); ::std::mem::size_of::<$ty>()];
-    }
+    };
 }