Skip to content

Commit 426cb19

Browse files
committed
---
yaml --- r: 235283 b: refs/heads/stable c: a89b3ea h: refs/heads/master i: 235281: 7821f8e 235279: 9fb1eeb v: v3
1 parent a7b0ce3 commit 426cb19

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ refs/heads/tmp: afae2ff723393b3ab4ccffef6ac7c6d1809e2da0
2929
refs/tags/1.0.0-alpha.2: 4c705f6bc559886632d3871b04f58aab093bfa2f
3030
refs/tags/homu-tmp: f859507de8c410b648d934d8f5ec1c52daac971d
3131
refs/tags/1.0.0-beta: 8cbb92b53468ee2b0c2d3eeb8567005953d40828
32-
refs/heads/stable: e333a57a1952bca66e8063f80d3b6915b90db06b
32+
refs/heads/stable: a89b3ea3fcf1cd4b24f86d223fcc8f09c0ea75a3
3333
refs/tags/1.0.0: 55bd4f8ff2b323f317ae89e254ce87162d52a375
3434
refs/tags/1.1.0: bc3c16f09287e5545c1d3f76b7abd54f2eca868b
3535
refs/tags/1.2.0: f557861f822c34f07270347b94b5280de20a597e

branches/stable/src/libcore/num/wrapping.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,13 +119,13 @@ macro_rules! wrapping_impl {
119119
}
120120
}
121121

122-
#[stable(feature = "rust1", since = "1.3.0")]
122+
#[stable(feature = "wrapping_div", since = "1.3.0")]
123123
impl Div for Wrapping<$t> {
124124
type Output = Wrapping<$t>;
125125

126126
#[inline(always)]
127127
fn div(self, other: Wrapping<$t>) -> Wrapping<$t> {
128-
Wrapping(self.0 / other.0)
128+
Wrapping(self.0.wrapping_div(other.0))
129129
}
130130
}
131131

0 commit comments

Comments
 (0)