Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
dholroyd committed Feb 28, 2024
1 parent c44fff7 commit 37f76d9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/dump.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,5 +153,9 @@ fn hex_dump(nal: &RefNal) {
nal.rbsp_bytes()
.read_to_end(&mut nal_rbsp_bytes)
.expect("read NAL");
println!("{:?}: {:02x}", nal.header().unwrap().nal_unit_type(), &nal_rbsp_bytes[..].plain_hex(false));
println!(
"{:?}: {:02x}",
nal.header().unwrap().nal_unit_type(),
&nal_rbsp_bytes[..].plain_hex(false)
);
}

0 comments on commit 37f76d9

Please sign in to comment.