Skip to content

Commit 2b4c778

Browse files
Merge branch 'silent-overflow' of https://github.com/matthew-piziak/rust into silent-overflow
2 parents cb26d55 + db1e85d commit 2b4c778

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/libcore/iter/range.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,12 @@ macro_rules! step_impl_unsigned {
9696

9797
#[inline]
9898
fn add_one(&self) -> Self {
99-
Add::add(*self, 1);
99+
Add::add(*self, 1)
100100
}
101101

102102
#[inline]
103103
fn sub_one(&self) -> Self {
104-
Sub::sub(*self, 1);
104+
Sub::sub(*self, 1)
105105
}
106106

107107
#[inline]
@@ -167,12 +167,12 @@ macro_rules! step_impl_signed {
167167

168168
#[inline]
169169
fn add_one(&self) -> Self {
170-
Add::add(*self, 1);
170+
Add::add(*self, 1)
171171
}
172172

173173
#[inline]
174174
fn sub_one(&self) -> Self {
175-
Sub::sub(*self, 1);
175+
Sub::sub(*self, 1)
176176
}
177177

178178
#[inline]
@@ -216,12 +216,12 @@ macro_rules! step_impl_no_between {
216216

217217
#[inline]
218218
fn add_one(&self) -> Self {
219-
Add::add(*self, 1);
219+
Add::add(*self, 1)
220220
}
221221

222222
#[inline]
223223
fn sub_one(&self) -> Self {
224-
Sub::sub(*self, 1);
224+
Sub::sub(*self, 1)
225225
}
226226

227227
#[inline]

0 commit comments

Comments
 (0)