diff --git a/library/core/src/num/error.rs b/library/core/src/num/error.rs index d1a65aa35ae..e1684719ab4 100644 --- a/library/core/src/num/error.rs +++ b/library/core/src/num/error.rs @@ -95,7 +95,7 @@ pub enum IntErrorKind { /// 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. + /// contains a non-ASCII char. /// /// This variant is also constructed when a `+` or `-` is misplaced within a string /// either on its own or in the middle of a number.