Skip to content

Commit 8e71a96

Browse files
rw-vancIsaacWoods
authored andcommitted
Update syntax of literal zero
1 parent b48a085 commit 8e71a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aml/src/value.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ impl AmlValue {
286286
let bytes = bytes.lock();
287287
let bytes = if bytes.len() > 8 { &bytes[0..8] } else { &bytes[..] };
288288

289-
Ok(bytes.iter().rev().fold(0: u64, |mut i, &popped| {
289+
Ok(bytes.iter().rev().fold(0u64, |mut i, &popped| {
290290
i <<= 8;
291291
i += popped as u64;
292292
i

0 commit comments

Comments
 (0)