We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dad2db7 commit 98e237aCopy full SHA for 98e237a
src/libcore/num/mod.rs
@@ -1374,7 +1374,7 @@ macro_rules! checkeddiv_int_impl(
1374
if *v == 0 || (*self == $min && *v == -1) {
1375
None
1376
} else {
1377
- Some(self / *v)
+ Some(*self / *v)
1378
}
1379
1380
@@ -1395,7 +1395,7 @@ macro_rules! checkeddiv_uint_impl(
1395
if *v == 0 {
1396
1397
1398
1399
1400
1401
0 commit comments