diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2020-04-22 16:16:43 -0400 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2020-04-25 09:25:33 -0400 |
| commit | 17a393ee962f6772235c8e8e3ebe777a7dae45db (patch) | |
| tree | b1fbbbfde5c3a87f54f01102d07911ad26565444 /src/libproc_macro | |
| parent | 93eed402adbe9e7a532995500d50716d52eefee9 (diff) | |
Bump rustfmt to most recently shipped
Diffstat (limited to 'src/libproc_macro')
| -rw-r--r-- | src/libproc_macro/lib.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libproc_macro/lib.rs b/src/libproc_macro/lib.rs index 71df6e049e5..eb7677e9345 100644 --- a/src/libproc_macro/lib.rs +++ b/src/libproc_macro/lib.rs @@ -273,14 +273,14 @@ impl !Send for Span {} impl !Sync for Span {} macro_rules! diagnostic_method { - ($name:ident, $level:expr) => ( + ($name:ident, $level:expr) => { /// Creates a new `Diagnostic` with the given `message` at the span /// `self`. #[unstable(feature = "proc_macro_diagnostic", issue = "54140")] pub fn $name<T: Into<String>>(self, message: T) -> Diagnostic { Diagnostic::spanned(self, $level, message) } - ) + }; } impl Span { |
