diff options
Diffstat (limited to 'src/rruleset_iter.rs')
-rw-r--r-- | src/rruleset_iter.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rruleset_iter.rs b/src/rruleset_iter.rs index efc8368..c9eca4e 100644 --- a/src/rruleset_iter.rs +++ b/src/rruleset_iter.rs @@ -145,8 +145,8 @@ impl<'a> RRuleSetIter<'a> { _ => (), }; - for date in &self.rrule_set.rdate.clone() { - if !self.accept(date.clone()) { + for date in self.rrule_set.rdate.clone().into_iter() { + if !self.accept(date) { break; } } |