about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libcore/num/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs
index e297050f1f0..ad448af9af8 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,
 }