Add missing word to FromStr trait docs

This commit is contained in:
Adam Skoufis 2021-10-14 13:47:54 +11:00 committed by GitHub
parent 8c852bc15a
commit 4b59b35b76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -536,7 +536,7 @@ pub trait FromStr: Sized {
/// ///
/// If parsing succeeds, return the value inside [`Ok`], otherwise /// If parsing succeeds, return the value inside [`Ok`], otherwise
/// when the string is ill-formatted return an error specific to the /// when the string is ill-formatted return an error specific to the
/// inside [`Err`]. The error type is specific to implementation of the trait. /// inside [`Err`]. The error type is specific to the implementation of the trait.
/// ///
/// # Examples /// # Examples
/// ///