about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEthan Brierley <ethanboxx@gmail.com>2020-10-26 05:51:07 -0500
committerGitHub <noreply@github.com>2020-10-26 05:51:07 -0500
commit69c301f0f36696f93a90bb7a6afe9081b0d04233 (patch)
tree3cadb8462eab5f50d49bb709654791bde92a2702
parent199c36115f1daa71458e94db0f37ab213d01eb8a (diff)
downloadrust-69c301f0f36696f93a90bb7a6afe9081b0d04233.tar.gz
rust-69c301f0f36696f93a90bb7a6afe9081b0d04233.zip
Small reword
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 91a24e7740a..d1a65aa35ae 100644
--- a/library/core/src/num/error.rs
+++ b/library/core/src/num/error.rs
@@ -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.