fix diagnostic message style

Co-authored-by: Ruby Lazuli <general@patchmixolydic.com>
This commit is contained in:
Icxolu 2023-04-29 21:11:34 +02:00 committed by GitHub
parent 9428138562
commit 032bc11fd4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,