Skip to content

Commit ac8a70b

Browse files
committed
rust formatting mooore
1 parent b9363e7 commit ac8a70b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rust/src/decoder/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ impl dtvcc_symbol {
213213
}
214214
/// Create a new 16 bit symbol
215215
pub fn new_16(data1: u8, data2: u8) -> Self {
216-
let sym = (data1 as u16) << 8 | data2 as u16;
216+
let sym = ((data1 as u16) << 8) | data2 as u16;
217217
Self { init: 1, sym }
218218
}
219219
/// Check if symbol is initialized

0 commit comments

Comments
 (0)