Skip to content

Commit

Permalink
Update clippy_lints/src/from_over_into.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Takayuki Nakata <f.seasons017@gmail.com>
  • Loading branch information
llogiq and giraffate authored Dec 21, 2020
1 parent 7e641c8 commit 0d6c128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clippy_lints/src/from_over_into.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ 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",
);
Expand Down

0 comments on commit 0d6c128

Please sign in to comment.