diff --git a/drv/cosmo-hf/src/main.rs b/drv/cosmo-hf/src/main.rs index 0a861acdf..e75f9664e 100644 --- a/drv/cosmo-hf/src/main.rs +++ b/drv/cosmo-hf/src/main.rs @@ -74,7 +74,7 @@ fn main() -> ! { // Check the flash chip's ID against Table 7.3.1 in the datasheet let id = drv.flash_read_id(); - if &id[0..3] != [0xef, 0x40, 0x21] { + if id[0..3] != [0xef, 0x40, 0x21] { fail(drv_hf_api::HfError::BadChipId); }