Skip to content

Commit

Permalink
Fix spelling error for whitespaces.
Browse files Browse the repository at this point in the history
  • Loading branch information
Songbird0 authored Mar 5, 2018
1 parent ef1aae1 commit 6d71aa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/num/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3848,7 +3848,7 @@ fn from_str_radix<T: FromStrRadixHelper>(src: &str, radix: u32) -> Result<T, Par
///
/// # Potential causes
///
/// Among other causes, `ParseIntError` can be thrown because of leading or trailing whitespaces
/// Among other causes, `ParseIntError` can be thrown because of leading or trailing whitespace
/// in the string e.g. when it is obtained from the standard input.
/// Using the [`str.trim()`] method ensures that no whitespace remains before parsing.
///
Expand Down

0 comments on commit 6d71aa4

Please sign in to comment.