Skip to content

Commit

Permalink
Rollup merge of #80769 - ejez:patch-1, r=jonas-schievink
Browse files Browse the repository at this point in the history
Improve wording of parse doc

Change:
```
`parse` can parse any type that...
```
to:
```
`parse` can parse into any type that...
```
Word `into` added to be more precise and in coherence with other parts of the doc.
  • Loading branch information
JohnTitor committed Jan 7, 2021
2 parents fd7f244 + 2b8109f commit a97dc5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/str/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2175,7 +2175,7 @@ impl str {
/// helps the inference algorithm understand specifically which type
/// you're trying to parse into.
///
/// `parse` can parse any type that implements the [`FromStr`] trait.
/// `parse` can parse into any type that implements the [`FromStr`] trait.

///
/// # Errors
Expand Down

0 comments on commit a97dc5f

Please sign in to comment.