about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEthan Brierley <ethanboxx@gmail.com>2020-10-26 05:50:28 -0500
committerGitHub <noreply@github.com>2020-10-26 05:50:28 -0500
commit199c36115f1daa71458e94db0f37ab213d01eb8a (patch)
tree86ecf1ff22ede5e7663a846c38806fdd3adc8b97
parentf233abb9091e3c0999f0cb80ba652d6094e3d5b4 (diff)
downloadrust-199c36115f1daa71458e94db0f37ab213d01eb8a.tar.gz
rust-199c36115f1daa71458e94db0f37ab213d01eb8a.zip
Fix spelling eror
Co-authored-by: Ashley Mannix <kodraus@hey.com>
-rw-r--r--library/core/src/num/error.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/num/error.rs b/library/core/src/num/error.rs
index 401d52eb084..91a24e7740a 100644
--- a/library/core/src/num/error.rs
+++ b/library/core/src/num/error.rs
@@ -97,7 +97,7 @@ pub enum IntErrorKind {
     /// Among other causes, this variant will be constructed when parsing a string that
     /// contains a non-asci char.
     ///
-    /// This variant is also constructed when a `+` or `-` is misplaced within a sting
+    /// This variant is also constructed when a `+` or `-` is misplaced within a string
     /// either on its own or in the middle of a number.
     #[stable(feature = "int_error_matching", since = "1.47.0")]
     InvalidDigit(#[stable(feature = "int_error_matching", since = "1.47.0")] char),