]> git.lizzy.rs Git - rust.git/commitdiff
Liballoc clean up macro_rules style
authorIvan Tham <pickfire@riseup.net>
Thu, 18 Jun 2020 16:34:20 +0000 (00:34 +0800)
committerIvan Tham <pickfire@riseup.net>
Thu, 18 Jun 2020 16:34:20 +0000 (00:34 +0800)
src/liballoc/vec.rs

index 13dfb8b332d493aa80b5b1f9743fd80a2af2a318..31cadbd84bfc55d3abded7045064d338e8611c72 100644 (file)
@@ -1837,7 +1837,7 @@ unsafe trait IsZero {
 }
 
 macro_rules! impl_is_zero {
-    ($t: ty, $is_zero: expr) => {
+    ($t:ty, $is_zero:expr) => {
         unsafe impl IsZero for $t {
             #[inline]
             fn is_zero(&self) -> bool {