Skip to content

Commit 5bae956

Browse files
author
vats004
committed
fixed < cargo clippy -- -D warnings > errors
1 parent 2f6f178 commit 5bae956

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/rust/lib_ccxr/src/decoder_isdb/functions_isdb.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,8 +677,8 @@ pub fn parse_csi(ctx: &mut ISDBSubContext, buf: &[u8]) -> usize {
677677
command if command == CsiCommand::Rcs as u8 => {
678678
ret = get_csi_params(&arg[..=i], Some(&mut p1), None);
679679
if ret > 0 {
680-
ctx.current_state.raster_color =
681-
DEFAULT_CLUT[((ctx.current_state.clut_high_idx as u32) << 4 | p1) as usize];
680+
ctx.current_state.raster_color = DEFAULT_CLUT
681+
[(((ctx.current_state.clut_high_idx as u32) << 4) | p1) as usize];
682682
}
683683
info!("Command: CSI: RCS ({})", p1);
684684
}

0 commit comments

Comments
 (0)