Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
enricozb committed Apr 15, 2024
1 parent 5bb6aae commit 381f8fe
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ fn _compile_host(host: &Host) -> Result<String, fmt::Error> {
.map(|(raw_name, def)| (raw_name, sanitize_name(raw_name), def));

writeln!(code, "#![allow(non_upper_case_globals, unused_imports)]")?;
writeln!(
code,
"use crate::{{host::{{Host, DefRef}}, run::*, ops::{{TypedOp, Ty::*, Op::*}}}};"
)?;
writeln!(code, "use crate::{{host::{{Host, DefRef}}, run::*, ops::{{TypedOp, Ty::*, Op::*}}}};")?;
writeln!(code)?;

writeln!(code, "pub fn host() -> Host {{")?;
Expand Down

0 comments on commit 381f8fe

Please sign in to comment.