Skip to content

Commit a7299c4

Browse files
committed
Fixed error messages
1 parent dd005c1 commit a7299c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/from_over_into.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ impl LateLintPass<'_> for FromOverInto {
7171
cx,
7272
FROM_OVER_INTO,
7373
item.span,
74-
"An implementation of From is preferred since it gives you Into<..> for free where the reverse isn't true.",
74+
"An implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true.",
7575
None,
76-
"consider to implement From instead",
76+
"consider to implement `From` instead",
7777
);
7878
}
7979
}

0 commit comments

Comments
 (0)