From c468dc522bdc3516205a71babbd3468892670ca4 Mon Sep 17 00:00:00 2001 From: Matt Keeter Date: Tue, 20 Aug 2024 12:34:41 -0400 Subject: [PATCH] Clippy fix --- drv/cosmo-hf/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }