Skip to content
This repository has been archived by the owner on Nov 23, 2024. It is now read-only.

Commit

Permalink
Surpress all warnings in eval
Browse files Browse the repository at this point in the history
  • Loading branch information
upsuper committed Sep 4, 2024
1 parent 929cf0b commit 19868c4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/eval/execute.rs
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ fn generate_code_to_send(code: &str, bare: bool) -> String {
};
format!(
template! {
"#![allow(dead_code)]",
"#![allow(unused_imports)]",
"#![allow(warnings)]",
"{header}",
"{prelude}",
"fn main() -> Result<(), Box<dyn std::error::Error>> {{",
Expand Down

0 comments on commit 19868c4

Please sign in to comment.