Skip to content

Commit 9ac3d02

Browse files
committed
---
yaml --- r: 218236 b: refs/heads/master c: a89b3ea h: refs/heads/master v: v3
1 parent 863ecb0 commit 9ac3d02

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
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: e333a57a1952bca66e8063f80d3b6915b90db06b
2+
refs/heads/master: a89b3ea3fcf1cd4b24f86d223fcc8f09c0ea75a3
33
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
44
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

trunk/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)