Skip to content

Commit

Permalink
Change CompileResult debug to not yell
Browse files Browse the repository at this point in the history
  • Loading branch information
LunaAmora committed Mar 6, 2024
1 parent 732de79 commit 28e73b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ pub struct CompileResult {
impl std::fmt::Debug for CompileResult {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
if !self.warns.0.is_empty() {
writeln!(f, "// WARNING:\n{}", self.warns)?;
writeln!(f, "// Warnings:\n{}", self.warns)?;
}
write!(f, "{}", self.core_book)
}
Expand Down

0 comments on commit 28e73b8

Please sign in to comment.