Skip to content

Commit

Permalink
fix: 2 typos
Browse files Browse the repository at this point in the history
  • Loading branch information
dxrcy committed Dec 4, 2024
1 parent 5bd27d3 commit d268e85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ fn main() -> miette::Result<()> {
Ok(())
}
Command::Compile { name, dest } => {
file_message(Green, "Assembing", &name);
file_message(Green, "Assembling", &name);
let contents = StaticSource::new(fs::read_to_string(&name).into_diagnostic()?);
let air = assemble(&contents)?;

Expand Down
2 changes: 1 addition & 1 deletion src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ impl AsmParser {
TokenKind::Label | TokenKind::Lit(_) | TokenKind::Reg(_) => {
return Err(error::parse_generic_unexpected(
self.src,
"directive/instrucion/trap",
"directive/instruction/trap",
tok,
))
}
Expand Down

0 comments on commit d268e85

Please sign in to comment.