Bump rustfmt version
Also switches on formatting of the mir build module
This commit is contained in:
parent
f6cb45ad01
commit
d5b760ba62
30 changed files with 224 additions and 164 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue