Skip to content

Commit

Permalink
Fixed error messages
Browse files Browse the repository at this point in the history
  • Loading branch information
1c3t3a committed Dec 20, 2020
1 parent dd005c1 commit a7299c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clippy_lints/src/from_over_into.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ impl LateLintPass<'_> for FromOverInto {
cx,
FROM_OVER_INTO,
item.span,
"An implementation of From is preferred since it gives you Into<..> for free where the reverse isn't true.",
"An implementation of `From` is preferred since it gives you `Into<_>` for free where the reverse isn't true.",
None,
"consider to implement From instead",
"consider to implement `From` instead",
);
}
}
Expand Down

0 comments on commit a7299c4

Please sign in to comment.