Skip to content

Commit

Permalink
Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
jannic committed Mar 10, 2024
1 parent 02e51fa commit dcf69d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ fn setup<'b, A: ValidAddressMode>(
let address = match A::address_len() {
AddressLength::_7 => {
let address_and_flag = ((address as u8) << 1) | read_flag;
Left(once(address_and_flag).into_iter().map(CmdWord::address))
Left(once(address_and_flag).map(CmdWord::address))
}
AddressLength::_10 => {
let addr_hi = 0xF0 | ((address >> 7) as u8) & 0xFE;
Expand Down

0 comments on commit dcf69d3

Please sign in to comment.