Skip to content

Commit 847e133

Browse files
committed
---
yaml --- r: 228212 b: refs/heads/try c: a89b3ea h: refs/heads/master v: v3
1 parent b6a3e6c commit 847e133

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,7 +1,7 @@
11
---
22
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
33
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4-
refs/heads/try: e333a57a1952bca66e8063f80d3b6915b90db06b
4+
refs/heads/try: a89b3ea3fcf1cd4b24f86d223fcc8f09c0ea75a3
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
66
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
77
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/try/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)