Skip to content

Commit

Permalink
simpler clippy allow
Browse files Browse the repository at this point in the history
  • Loading branch information
enricozb committed Apr 19, 2024
1 parent c3ee444 commit 586fd3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fn _compile_host(host: &Host) -> Result<String, fmt::Error> {
}
}

writeln!(code, "#![allow(non_camel_case_types, unused_imports, unused_variables)]")?;
writeln!(code, "#![allow(warnings)]")?;
writeln!(
code,
"use crate::{{host::Host, stdlib::{{AsHostedDef, HostedDef}}, run::*, ops::{{TypedOp, Ty::*, Op::*}}}};"
Expand Down

0 comments on commit 586fd3c

Please sign in to comment.