Fix spelling error for whitespaces.

This commit is contained in:
Songbird0 2018-03-05 14:33:37 +01:00 committed by GitHub
parent ef1aae1cc2
commit 6d71aa47fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.
///