Update clippy_lints/src/from_over_into.rs
Co-authored-by: Takayuki Nakata <f.seasons017@gmail.com>
This commit is contained in:
parent
7e641c8be7
commit
0d6c128bfd
@ -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",
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user