Format code with cargo fmt

This commit is contained in:
Rodolphe Breard 2019-01-18 19:10:12 +01:00
parent 8173cb282a
commit 22c376930b
4 changed files with 20 additions and 13 deletions

View file

@ -89,9 +89,11 @@ impl<T: Clone + Default + 'static> SmtpIn<T> {
let mut evts = Vec::new();
for eh in self.event_handlers.iter() {
match eh.event {
MatchEvent::Evt(ref v) => for e in v.iter() {
evts.push(e);
},
MatchEvent::Evt(ref v) => {
for e in v.iter() {
evts.push(e);
}
}
MatchEvent::All => {
println!("register|report|smtp-in|*");
evts.clear();