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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue