Skip to content

Commit

Permalink
run fmt and fix clippy 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Aux1r committed Nov 16, 2024
1 parent 345505d commit 24f29f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sensors/src/tof.rs
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ mod tests {
for (reg, val) in PRIVATE_REGISTERS_U16 {
assert_eq!(
i2c.get_writes()
.get(&(ToFAddresses::Address29 as u8, reg.into())),
.get(&(ToFAddresses::Address29 as u8, reg)),
Some(&Some(val))
)
}
Expand Down

0 comments on commit 24f29f5

Please sign in to comment.