Skip to content

Commit 2b8109f

Browse files
authored
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.
1 parent 5b3d524 commit 2b8109f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/str/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2175,7 +2175,7 @@ impl str {
21752175
/// helps the inference algorithm understand specifically which type
21762176
/// you're trying to parse into.
21772177
///
2178-
/// `parse` can parse any type that implements the [`FromStr`] trait.
2178+
/// `parse` can parse into any type that implements the [`FromStr`] trait.
21792179
21802180
///
21812181
/// # Errors

0 commit comments

Comments
 (0)