Skip to content

Commit

Permalink
Merge pull request #4 from acridotheres/rustfmt-78b41e4251673032ea486…
Browse files Browse the repository at this point in the history
…4429a2a0beffeb75ae6

Format code using rustfmt for 78b41e4
  • Loading branch information
Le0X8 authored Jul 12, 2024
2 parents 78b41e4 + 44ce37b commit 748f788
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 748f788

Please sign in to comment.