Make test-tidy check that braces have spaces before or after them

This commit is contained in:
wilmoz 2015-08-31 12:30:55 -05:00
parent aee011a524
commit 64ac4f175f
10 changed files with 31 additions and 21 deletions

View file

@ -183,7 +183,7 @@ impl TimerManager {
if is_interval == IsInterval::NonInterval {
break;
}
} else if id == control_handle.id() {;
} else if id == control_handle.id() {
match control_port.recv().unwrap() {
TimerControlMsg::Suspend => {
let msg = control_port.recv().unwrap();
@ -194,7 +194,7 @@ impl TimerManager {
break;
},
}
},
},
TimerControlMsg::Resume => panic!("Nothing to resume!"),
TimerControlMsg::Cancel => {
break;