]> git.lizzy.rs Git - rust.git/commitdiff
Fix spelling eror
authorEthan Brierley <ethanboxx@gmail.com>
Mon, 26 Oct 2020 10:50:28 +0000 (05:50 -0500)
committerGitHub <noreply@github.com>
Mon, 26 Oct 2020 10:50:28 +0000 (05:50 -0500)
Co-authored-by: Ashley Mannix <kodraus@hey.com>
library/core/src/num/error.rs

index 401d52eb0848118ee0005dc10d9de6749d59a605..91a24e7740ad44a65942a580eda12ca02c199c31 100644 (file)
@@ -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),