Refactoring

This commit is contained in:
Nick Cameron 2015-12-23 19:27:20 +13:00
parent 95dc7efad0
commit aaa02b3ff9
13 changed files with 238 additions and 226 deletions

View file

@ -60,7 +60,7 @@ struct ExpectErrorEmitter {
fn remove_message(e: &mut ExpectErrorEmitter, msg: &str, lvl: Level) {
match lvl {
Level::Bug | Level::Fatal | Level::Error => {}
Level::Warning | Level::Note | Level::Help => {
_ => {
return;
}
}