clean up some clippy warnings

This commit is contained in:
Jacob Lifshay 2024-10-07 21:49:18 -07:00
parent f12322aa2a
commit ed1aea41f3
Signed by: programmerjake
SSH key fingerprint: SHA256:B1iRVvUJkvd7upMIiMqn6OyxvD2SgJkAH3ZnUOj6z+c
12 changed files with 45 additions and 29 deletions

View file

@ -2258,7 +2258,7 @@ pub fn check_memory_of_bundle() {
let wmask: (Bool, Bool) = m.input();
#[hdl]
let clk: Clock = m.input();
let mem_init = Vec::from_iter((0..0x10u8).map(|i| (i ^ 3, (i ^ i / 2).cast_to_static())));
let mem_init = Vec::from_iter((0..0x10u8).map(|i| (i ^ 3, (i ^ (i / 2)).cast_to_static())));
#[hdl]
let mut mem = memory_with_init(mem_init);
let read_port = mem.new_read_port();