about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSongbird0 <Songbird0@users.noreply.github.com>2018-03-05 14:33:37 +0100
committerGitHub <noreply@github.com>2018-03-05 14:33:37 +0100
commit6d71aa47fbcaeb0493ac1bbc4408b513f6108fd0 (patch)
tree7086509117e859cad52669e4cf5bbbc81a159c3f
parentef1aae1cc2310ae6c05bed273da55a9ba85b1ef5 (diff)
downloadrust-6d71aa47fbcaeb0493ac1bbc4408b513f6108fd0.tar.gz
rust-6d71aa47fbcaeb0493ac1bbc4408b513f6108fd0.zip
Fix spelling error for `whitespaces`.
-rw-r--r--src/libcore/num/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs
index 8b43aeefade..929d6ef4c20 100644
--- a/src/libcore/num/mod.rs
+++ b/src/libcore/num/mod.rs
@@ -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.
 ///