Skip to content

Commit 6d71aa4

Browse files
authored
Fix spelling error for whitespaces.
1 parent ef1aae1 commit 6d71aa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/num/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3848,7 +3848,7 @@ fn from_str_radix<T: FromStrRadixHelper>(src: &str, radix: u32) -> Result<T, Par
38483848
///
38493849
/// # Potential causes
38503850
///
3851-
/// Among other causes, `ParseIntError` can be thrown because of leading or trailing whitespaces
3851+
/// Among other causes, `ParseIntError` can be thrown because of leading or trailing whitespace
38523852
/// in the string e.g. when it is obtained from the standard input.
38533853
/// Using the [`str.trim()`] method ensures that no whitespace remains before parsing.
38543854
///

0 commit comments

Comments
 (0)