Skip to content

Commit

Permalink
rust formatting mooore
Browse files Browse the repository at this point in the history
  • Loading branch information
vats004 committed Feb 22, 2025
1 parent b9363e7 commit ac8a70b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rust/src/decoder/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ impl dtvcc_symbol {
}
/// Create a new 16 bit symbol
pub fn new_16(data1: u8, data2: u8) -> Self {
let sym = (data1 as u16) << 8 | data2 as u16;
let sym = ((data1 as u16) << 8) | data2 as u16;
Self { init: 1, sym }
}
/// Check if symbol is initialized
Expand Down

0 comments on commit ac8a70b

Please sign in to comment.