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

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)