Feature/call error message struct#66 (#71)

* change ERROR writeln struct #66
This commit is contained in:
Alan Smithee
2021-03-20 11:26:09 +09:00
committed by GitHub
parent 21884e2a38
commit 315d246057

View File

@@ -148,7 +148,7 @@ impl Message {
impl AlertMessage {
pub fn alert<W: Write>(w: &mut W, contents: String) -> io::Result<()> {
writeln!(w, "{}", contents)
writeln!(w, "[ERROR] {}", contents)
}
}