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 d49da0f commit 17dfb18Copy full SHA for 17dfb18
library/core/src/num/uint_macros.rs
@@ -1997,11 +1997,11 @@ macro_rules! uint_impl {
1997
return self;
1998
}
1999
2000
- let mut x: Self = self;
2001
- let mut c: Self = 0;
2002
- let mut d: Self = 1 << (self.ilog2() & !1);
+ let mut x = self;
+ let mut c = 0;
+ let mut d = 1 << (self.ilog2() & !1);
2003
2004
- while (d != 0) {
+ while d != 0 {
2005
if x >= c + d {
2006
x -= c + d;
2007
c = (c >> 1) + d;
0 commit comments