about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorMark Rousskov <mark.simulacrum@gmail.com>2020-04-22 16:16:43 -0400
committerMark Rousskov <mark.simulacrum@gmail.com>2020-04-25 09:25:33 -0400
commit17a393ee962f6772235c8e8e3ebe777a7dae45db (patch)
treeb1fbbbfde5c3a87f54f01102d07911ad26565444 /src/libcore
parent93eed402adbe9e7a532995500d50716d52eefee9 (diff)
Bump rustfmt to most recently shipped
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/iter/range.rs2
-rw-r--r--src/libcore/macros/mod.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/iter/range.rs b/src/libcore/iter/range.rs
index 37369289c51..bb68184c8dd 100644
--- a/src/libcore/iter/range.rs
+++ b/src/libcore/iter/range.rs
@@ -70,7 +70,7 @@ macro_rules! step_identical_methods {
         fn sub_one(&self) -> Self {
             Sub::sub(*self, 1)
         }
-    }
+    };
 }
 
 macro_rules! step_impl_unsigned {
diff --git a/src/libcore/macros/mod.rs b/src/libcore/macros/mod.rs
index f86eee788c0..85d848f54fb 100644
--- a/src/libcore/macros/mod.rs
+++ b/src/libcore/macros/mod.rs
@@ -336,7 +336,7 @@ macro_rules! r#try {
         }
     };
     ($expr:expr,) => {
-        $crate::try!($expr)
+        $crate::r#try!($expr)
     };
 }