Update clippy_lints/src/from_over_into.rs

Co-authored-by: Takayuki Nakata <f.seasons017@gmail.com>
This commit is contained in:
llogiq 2020-12-21 09:18:30 +01:00 committed by GitHub
parent 7e641c8be7
commit 0d6c128bfd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",
);