about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEthan Brierley <ethanboxx@gmail.com>2018-11-07 08:38:34 +0000
committerEthan Brierley <ethanboxx@gmail.com>2018-11-07 08:38:34 +0000
commitd0bac148f7ae149ea93b1610fd2398fc1f00da65 (patch)
tree5d25fec9bc14969f7ba235b540e98632d31620c4 /src
parent11ee29a81397d5c18eb69fd5e12f977c07e1c851 (diff)
downloadrust-d0bac148f7ae149ea93b1610fd2398fc1f00da65.tar.gz
rust-d0bac148f7ae149ea93b1610fd2398fc1f00da65.zip
Fix incorrect documentation
Diffstat (limited to 'src')
-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,
 }