Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 2868acf

Browse files
committed
fmt
1 parent 4c25c38 commit 2868acf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kamyu104/src/bitwise_and_of_numbers_range.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ impl Solution1 {
1616

1717
impl Solution2 {
1818
pub fn range_bitwise_and(m: u32, n: u32) -> u32 {
19-
let (mut i, mut diff) = (0, n - m);
19+
let (mut i, mut diff): (u32, u32) = (0, n - m);
2020
while diff != 0 {
2121
diff >>= 1;
2222
i += 1;

0 commit comments

Comments
 (0)