diff options
| author | Oliver Middleton <olliemail27@gmail.com> | 2016-02-14 17:44:22 +0000 |
|---|---|---|
| committer | Oliver Middleton <olliemail27@gmail.com> | 2016-02-14 17:44:22 +0000 |
| commit | 36c00f810722b2e6aebe0c4db3d3d90ade7a32d3 (patch) | |
| tree | 9f84c574c8acc6bbf50e54c5276a280e40d5080a /src/libcore/num | |
| parent | f3619ce026e3de5d26537de63b7d0cd7710a3b96 (diff) | |
| download | rust-36c00f810722b2e6aebe0c4db3d3d90ade7a32d3.tar.gz rust-36c00f810722b2e6aebe0c4db3d3d90ade7a32d3.zip | |
Fix signed int checked_neg docs
Diffstat (limited to 'src/libcore/num')
| -rw-r--r-- | src/libcore/num/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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 @@ macro_rules! int_impl { } } - /// Checked negation. Computes `!self`, returning `None` if `self == + /// Checked negation. Computes `-self`, returning `None` if `self == /// MIN`. /// /// # Examples |
