Feature/call error message struct#66 (#71)
* change ERROR writeln struct #66
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user