From 36c00f810722b2e6aebe0c4db3d3d90ade7a32d3 Mon Sep 17 00:00:00 2001 From: Oliver Middleton Date: Sun, 14 Feb 2016 17:44:22 +0000 Subject: [PATCH] Fix signed int checked_neg docs --- src/libcore/num/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/num/mod.rs b/src/libcore/num/mod.rs index d094f05374b..ed370bb9164 100644 --- a/src/libcore/num/mod.rs +++ b/src/libcore/num/mod.rs @@ -479,7 +479,7 @@ pub fn checked_rem(self, other: Self) -> Option { } } - /// Checked negation. Computes `!self`, returning `None` if `self == + /// Checked negation. Computes `-self`, returning `None` if `self == /// MIN`. /// /// # Examples -- 2.44.0