simplify colors

This commit is contained in:
figsoda 2021-11-10 21:59:07 -05:00
parent 1fb9ef5abc
commit 5616231af9

View File

@ -53,7 +53,7 @@ impl Display for FinalError {
// Details // Details
for detail in &self.details { for detail in &self.details {
write!(f, "\n {}-{} {}", *WHITE, *YELLOW, detail)?; write!(f, "\n - {}{}{}", *YELLOW, detail, *RESET)?;
} }
// Hints // Hints
@ -65,7 +65,7 @@ impl Display for FinalError {
} }
} }
write!(f, "{}", *RESET) Ok(())
} }
} }