File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
branches/try/src/libcore/num Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: aca2057ed5fb7af3f8905b2bc01f72fa001c35c8
3
3
refs/heads/snap-stage3: 1af31d4974e33027a68126fa5a5a3c2c6491824f
4
- refs/heads/try: e333a57a1952bca66e8063f80d3b6915b90db06b
4
+ refs/heads/try: a89b3ea3fcf1cd4b24f86d223fcc8f09c0ea75a3
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
6
6
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
7
7
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
Original file line number Diff line number Diff line change @@ -119,13 +119,13 @@ macro_rules! wrapping_impl {
119
119
}
120
120
}
121
121
122
- #[ stable( feature = "rust1 " , since = "1.3.0" ) ]
122
+ #[ stable( feature = "wrapping_div " , since = "1.3.0" ) ]
123
123
impl Div for Wrapping <$t> {
124
124
type Output = Wrapping <$t>;
125
125
126
126
#[ inline( always) ]
127
127
fn div( self , other: Wrapping <$t>) -> Wrapping <$t> {
128
- Wrapping ( self . 0 / other. 0 )
128
+ Wrapping ( self . 0 . wrapping_div ( other. 0 ) )
129
129
}
130
130
}
131
131
You can’t perform that action at this time.
0 commit comments