diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index e297050f1f04..ad448af9af82 100644 --- a/src/libcore/num/mod.rs +++ b/src/libcore/num/mod.rs @@ -4788,9 +4788,9 @@ pub enum IntErrorKind { /// Among other causes, this variant will be constructed when parsing a string that /// contains a letter. InvalidDigit, - /// Integer is too small to store in target integer type. - Overflow, /// Integer is too large to store in target integer type. + Overflow, + /// Integer is too small to store in target integer type. Underflow, }