about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--clippy_lints/src/default_constructed_unit_struct.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/default_constructed_unit_struct.rs b/clippy_lints/src/default_constructed_unit_struct.rs
index a04f7b9d9a9..d518c8e7c56 100644
--- a/clippy_lints/src/default_constructed_unit_struct.rs
+++ b/clippy_lints/src/default_constructed_unit_struct.rs
@@ -55,7 +55,7 @@ impl LateLintPass<'_> for DefaultConstructedUnitStruct {
                     cx,
                     DEFAULT_CONSTRUCTED_UNIT_STRUCT,
                     qpath.last_segment_span(),
-                    "Use of `default` to create a unit struct.",
+                    "use of `default` to create a unit struct",
                     "remove this call to `default`",
                     String::new(),
                     Applicability::MachineApplicable,