diff --git a/opensmtpd/src/lib.rs b/opensmtpd/src/lib.rs index 4d307e3..9588439 100644 --- a/opensmtpd/src/lib.rs +++ b/opensmtpd/src/lib.rs @@ -89,9 +89,11 @@ impl SmtpIn { 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();