No more sorry

This commit is contained in:
topecongiro 2017-08-15 16:49:54 +09:00
parent 831db35a83
commit 222ae15c7b

View File

@ -482,8 +482,7 @@ impl FormattingError {
fn msg_suffix(&self) -> &str {
match self.kind {
ErrorKind::LineOverflow(..) | ErrorKind::TrailingWhitespace => "(sorry)",
ErrorKind::BadIssue(_) => "",
_ => String::from(""),
}
}
}