docs: std::convert::From: Fix typo

Fix a minor typo
This commit is contained in:
Shaleen Jain 2019-12-13 23:20:02 +05:30 committed by GitHub
parent 3964a55ba5
commit 9abde64a4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -291,7 +291,7 @@ pub trait Into<T>: Sized {
/// [`Into`]. /// [`Into`].
/// ///
/// One should always prefer implementing `From` over [`Into`] /// One should always prefer implementing `From` over [`Into`]
/// because implementing `From` automatically provides one with a implementation of [`Into`] /// because implementing `From` automatically provides one with an implementation of [`Into`]
/// thanks to the blanket implementation in the standard library. /// thanks to the blanket implementation in the standard library.
/// ///
/// Only implement [`Into`] if a conversion to a type outside the current crate is required. /// Only implement [`Into`] if a conversion to a type outside the current crate is required.