Updating nom to 4.2
This commit is contained in:
parent
22c376930b
commit
866298c948
3 changed files with 6 additions and 12 deletions
|
@ -89,11 +89,9 @@ 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