Skip to content

Commit 486fb44

Browse files
pierwillestebank
andauthored
Update compiler/rustc_lint/src/traits.rs
Co-authored-by: Esteban Kuber <estebank@users.noreply.github.com>
1 parent f0c5c30 commit 486fb44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_lint/src/traits.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ impl<'tcx> LateLintPass<'tcx> for DuplicateTraitBounds {
165165
cx.struct_span_lint(DUP_TRAIT_BOUNDS, span, |lint| {
166166
let msg = format!("duplicate trait bound");
167167
lint.build(&msg)
168-
.span_help(span, "Remove this duplicate trait bound")
168+
.span_help(span, "remove the duplicate trait bound")
169169
.emit();
170170
});
171171
};

0 commit comments

Comments
 (0)