Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
load1n9 committed Sep 18, 2023
1 parent 53af2e1 commit a4b9343
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions compiler/src/compilers/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ mod expr;
mod external;
mod program;
mod stmt;
mod types;
mod tip;
mod types;

pub use expr::*;
pub use external::*;
pub use program::*;
pub use stmt::*;
pub use types::*;
pub use tip::*;
pub use types::*;

pub fn compile_all(compiler: &mut Compiler, grammar: Grammar) -> Vec<u8> {
compiler.module.memories.memory(compiler.memory.alloc());
Expand Down
4 changes: 2 additions & 2 deletions compiler/src/compilers/stmt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,6 @@ pub fn compile_tip(compiler: &mut Compiler, function: &mut Function, tip: Tip, s
"wasm_bytes" => compile_tip_wasm_bytes(compiler, function, tip, span),
_ => compiler
.handler
.throw(CompilerErrorKind::Unimplemented, span)
.throw(CompilerErrorKind::Unimplemented, span),
}
}
}
1 change: 0 additions & 1 deletion compiler/src/compilers/tip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ pub fn compile_tip_wasm_bytes(
.collect::<Vec<u8>>();
function.raw(data);
}

0 comments on commit a4b9343

Please sign in to comment.