Skip to content

Commit 032bc11

Browse files
fix diagnostic message style
Co-authored-by: Ruby Lazuli <general@patchmixolydic.com>
1 parent 9428138 commit 032bc11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/default_constructed_unit_struct.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl LateLintPass<'_> for DefaultConstructedUnitStruct {
5555
cx,
5656
DEFAULT_CONSTRUCTED_UNIT_STRUCT,
5757
qpath.last_segment_span(),
58-
"Use of `default` to create a unit struct.",
58+
"use of `default` to create a unit struct",
5959
"remove this call to `default`",
6060
String::new(),
6161
Applicability::MachineApplicable,

0 commit comments

Comments
 (0)