Skip to content

Commit 8ac0864

Browse files
authored
Rollup merge of rust-lang#64632 - guanqun:patch-1, r=jonas-schievink
remove the extra comma after the match arm This would follow the same coding style as all the other match arms in this file.
2 parents 558f84c + c3140ba commit 8ac0864

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_resolve/late/diagnostics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ impl<'a> LateResolutionVisitor<'a, '_> {
424424
} else {
425425
err.note("did you mean to use one of the enum's variants?");
426426
}
427-
},
427+
}
428428
(Res::Def(DefKind::Struct, def_id), _) if ns == ValueNS => {
429429
if let Some((ctor_def, ctor_vis))
430430
= self.r.struct_constructors.get(&def_id).cloned() {

0 commit comments

Comments
 (0)