Skip to content

Commit

Permalink
Rollup merge of #89873 - askoufis:patch-1, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
matthiaskrgr authored Oct 14, 2021
2 parents 0888c6d + 4b59b35 commit 686857f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/str/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down

0 comments on commit 686857f

Please sign in to comment.