Rollup merge of #80769 - ejez:patch-1, r=jonas-schievink
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.
This commit is contained in:
commit
a97dc5f103
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user