Skip to content

Commit

Permalink
Format Rust code using rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Jul 11, 2024
1 parent 78b41e4 commit 44ce37b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ impl<'a> File<'a> {
u8::from_le_bytes(buf)
}

pub fn readj_u8(&mut self) -> u8 { // TODO: Apply this to all read methods
pub fn readj_u8(&mut self) -> u8 {
// TODO: Apply this to all read methods
let data = self.read_u8();
self.jump(1);
data
Expand Down

0 comments on commit 44ce37b

Please sign in to comment.