Rollup merge of #89873 - askoufis:patch-1, r=Mark-Simulacrum

Add missing word to `FromStr` trait documentation

The doc comment is getting a bit wide, let me know if I should restructure it/add a new line.
This commit is contained in:
Matthias Krüger 2021-10-14 16:06:46 +02:00 committed by GitHub
commit 686857f5bf
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
/// 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
///