Format code with cargo fmt
This commit is contained in:
parent
8173cb282a
commit
22c376930b
4 changed files with 20 additions and 13 deletions
|
@ -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();
|
||||
|
|
Reference in a new issue