diff options
| author | Matthew Piziak <matthew.piziak@gmail.com> | 2016-10-22 16:30:38 -0400 |
|---|---|---|
| committer | Matthew Piziak <matthew.piziak@gmail.com> | 2016-10-22 16:30:38 -0400 |
| commit | 2b4c778d9acd50a07bd5a7c28e5c8066d8191cca (patch) | |
| tree | 2f3610b9499a69fb06afbbcbb5342dca1df21d59 | |
| parent | cb26d5503ec5ccceeedd6861dd406f174a9af93e (diff) | |
| parent | db1e85d0923970e0d30e81bbbd1c0d8142ff282a (diff) | |
| download | rust-2b4c778d9acd50a07bd5a7c28e5c8066d8191cca.tar.gz rust-2b4c778d9acd50a07bd5a7c28e5c8066d8191cca.zip | |
Merge branch 'silent-overflow' of https://github.com/matthew-piziak/rust into silent-overflow
| -rw-r--r-- | src/libcore/iter/range.rs | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libcore/iter/range.rs b/src/libcore/iter/range.rs index 6cfec06b0ba..f1697ea448a 100644 --- a/src/libcore/iter/range.rs +++ b/src/libcore/iter/range.rs @@ -96,12 +96,12 @@ macro_rules! step_impl_unsigned { #[inline] fn add_one(&self) -> Self { - Add::add(*self, 1); + Add::add(*self, 1) } #[inline] fn sub_one(&self) -> Self { - Sub::sub(*self, 1); + Sub::sub(*self, 1) } #[inline] @@ -167,12 +167,12 @@ macro_rules! step_impl_signed { #[inline] fn add_one(&self) -> Self { - Add::add(*self, 1); + Add::add(*self, 1) } #[inline] fn sub_one(&self) -> Self { - Sub::sub(*self, 1); + Sub::sub(*self, 1) } #[inline] @@ -216,12 +216,12 @@ macro_rules! step_impl_no_between { #[inline] fn add_one(&self) -> Self { - Add::add(*self, 1); + Add::add(*self, 1) } #[inline] fn sub_one(&self) -> Self { - Sub::sub(*self, 1); + Sub::sub(*self, 1) } #[inline] |
