File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed 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
- refs/heads/master: e333a57a1952bca66e8063f80d3b6915b90db06b
2
+ refs/heads/master: a89b3ea3fcf1cd4b24f86d223fcc8f09c0ea75a3
3
3
refs/heads/snap-stage3: ba0e1cd8147d452c356aacb29fb87568ca26f111
4
4
refs/heads/try: b53c0f93eedcdedd4fd89bccc5a3a09d1c5cd23e
5
5
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
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