misc: fixed some shit thanks to Clippy, have fun with the merge conflicts lmao

This commit is contained in:
2025-06-16 23:21:35 +01:00
parent 7d17107a8c
commit ae10249616
6 changed files with 116 additions and 90 deletions
+2 -2
View File
@@ -7,7 +7,7 @@ use crate::{lexer::Token, parser::TokenType};
pub mod lexer;
pub mod parser;
pub fn assemble(src: &str) -> Vec<Instruction> {
pub fn assemble(_src: &str) -> Vec<Instruction> {
todo!()
}
@@ -31,7 +31,7 @@ impl fmt::Display for AssembleError {
match self {
AssembleError::Generic => write!(f, "Generic error"),
AssembleError::UnexpectedToken(tok, expected) => {
write!(f, "Unexpected token {:?}, expected {:?}", tok, expected)
write!(f, "Unexpected token {tok:?}, expected {expected:?}")
}
}
}