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

index 91a24e7740ad44a65942a580eda12ca02c199c31..d1a65aa35ae25b9b50429ab7574301a1f3a1f89d 100644 (file)
@@ -92,7 +92,7 @@ pub enum IntErrorKind {
     /// Among other causes, this variant will be constructed when parsing an empty string.
     #[stable(feature = "int_error_matching", since = "1.47.0")]
     Empty,
-    /// Contains an digit invalid in its context.
+    /// Contains an invalid digit in its context.
     ///
     /// Among other causes, this variant will be constructed when parsing a string that
     /// contains a non-asci char.