about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSongbird0 <Songbird0@users.noreply.github.com>2018-03-05 03:57:33 +0100
committerGitHub <noreply@github.com>2018-03-05 03:57:33 +0100
commitef1aae1cc2310ae6c05bed273da55a9ba85b1ef5 (patch)
tree3bd3805537dce94ab21f36b2ade1ee7cb16ed205
parent247fc38aebf752528078349f913764ba6a8edf59 (diff)
downloadrust-ef1aae1cc2310ae6c05bed273da55a9ba85b1ef5.tar.gz
rust-ef1aae1cc2310ae6c05bed273da55a9ba85b1ef5.zip
Modify wording and remove useless whitespaces.
-rw-r--r--src/libcore/num/mod.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs
index 00a46dca876..8b43aeefade 100644
--- a/src/libcore/num/mod.rs
+++ b/src/libcore/num/mod.rs
@@ -3845,11 +3845,11 @@ fn from_str_radix<T: FromStrRadixHelper>(src: &str, radix: u32) -> Result<T, Par
 ///
 /// This error is used as the error type for the `from_str_radix()` functions
 /// on the primitive integer types, such as [`i8::from_str_radix`].
-/// 
+///
 /// # Potential causes
 ///
-/// Among other causes, `ParseIntError` can be thrown because of leading or trailing whitespaces 
-/// in the string e.g. when it is getted from the standard input. 
+/// Among other causes, `ParseIntError` can be thrown because of leading or trailing whitespaces
+/// 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.
 ///
 /// [`str.trim()`]: ../../std/primitive.str.html#method.trim