From d0bac148f7ae149ea93b1610fd2398fc1f00da65 Mon Sep 17 00:00:00 2001 From: Ethan Brierley Date: Wed, 7 Nov 2018 08:38:34 +0000 Subject: [PATCH] Fix incorrect documentation --- src/libcore/num/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, }