Skip to content

Commit

Permalink
Clippy!
Browse files Browse the repository at this point in the history
Signed-off-by: Miquel Sabaté Solà <[email protected]>
  • Loading branch information
mssola committed Oct 24, 2024
1 parent 75bfd73 commit 02d4e48
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lib/xixanta/src/assembler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ pub struct Bundle {

impl Bundle {
pub fn new(resolved: bool) -> Self {
let mut b = Bundle::default();
b.resolved = resolved;
b
Self {
resolved,
..Default::default()
}
}

pub fn fill(value: u8) -> Self {
Expand Down Expand Up @@ -1537,6 +1538,9 @@ nop
assert_eq!(res[2].bytes[2], 0x00);
}

// TODO: anonymous jumps
// TODO: labels & anonymous beq/blt/etc.

// Control statements

#[test]
Expand Down

0 comments on commit 02d4e48

Please sign in to comment.