diff options
| author | Mark Rousskov <mark.simulacrum@gmail.com> | 2021-01-09 12:00:45 -0500 |
|---|---|---|
| committer | Mark Rousskov <mark.simulacrum@gmail.com> | 2021-02-02 09:09:52 -0500 |
| commit | d5b760ba62b40dd770c09e704b8a3af64c1fd058 (patch) | |
| tree | e15b2809a9c9447c7cee05932f04cd4e9fd10792 /compiler/rustc_builtin_macros | |
| parent | f6cb45ad01a4518f615926f39801996622f46179 (diff) | |
| download | rust-d5b760ba62b40dd770c09e704b8a3af64c1fd058.tar.gz rust-d5b760ba62b40dd770c09e704b8a3af64c1fd058.zip | |
Bump rustfmt version
Also switches on formatting of the mir build module
Diffstat (limited to 'compiler/rustc_builtin_macros')
| -rw-r--r-- | compiler/rustc_builtin_macros/src/deriving/generic/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_builtin_macros/src/deriving/generic/mod.rs b/compiler/rustc_builtin_macros/src/deriving/generic/mod.rs index e78d1368b35..fa3c958c9fe 100644 --- a/compiler/rustc_builtin_macros/src/deriving/generic/mod.rs +++ b/compiler/rustc_builtin_macros/src/deriving/generic/mod.rs @@ -598,7 +598,7 @@ impl<'a> TraitDef<'a> { let mut ty_params = params .iter() - .filter(|param| matches!(param.kind, ast::GenericParamKind::Type{..})) + .filter(|param| matches!(param.kind, ast::GenericParamKind::Type { .. })) .peekable(); if ty_params.peek().is_some() { |
