Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanWoollett-Light committed Dec 4, 2023
1 parent 20cf8e5 commit 2f9aa1a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/frontend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -466,11 +466,10 @@ pub fn get_statement<R: Read>(bytes: &mut Peekable<Bytes<R>>) -> Statement {

if let Ok(syscall) = Syscall::try_from(lhs.variable().unwrap().identifier.as_slice()) {
println!("syscall: {syscall:?}");
let tail = get_values(bytes);
return Statement {
comptime,
op: Op::Syscall(syscall),
arg: tail.iter().cloned().collect(),
arg: get_values(bytes),
};
}

Expand Down

0 comments on commit 2f9aa1a

Please sign in to comment.