Skip to content

Commit c3140ba

Browse files
author
guanqun
authored
remove the extra comma after the match arm
This would follow the same coding style as all the other match arms in this file.
1 parent 9ad1e7c commit c3140ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/librustc_resolve/late/diagnostics.rs

Lines changed: 1 addition & 1 deletion
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)