remove the extra comma after the match arm
This would follow the same coding style as all the other match arms in this file.
This commit is contained in:
parent
9ad1e7c46c
commit
c3140bae63
1 changed files with 1 additions and 1 deletions
|
@ -424,7 +424,7 @@ impl<'a> LateResolutionVisitor<'a, '_> {
|
|||
} else {
|
||||
err.note("did you mean to use one of the enum's variants?");
|
||||
}
|
||||
},
|
||||
}
|
||||
(Res::Def(DefKind::Struct, def_id), _) if ns == ValueNS => {
|
||||
if let Some((ctor_def, ctor_vis))
|
||||
= self.r.struct_constructors.get(&def_id).cloned() {
|
||||
|
|
Loading…
Reference in a new issue