diff options
author | Fredrik Meringdal <fredrikmeringdal@Fredriks-MacBook-Pro.local> | 2021-02-03 22:18:23 +0100 |
---|---|---|
committer | Fredrik Meringdal <fredrikmeringdal@Fredriks-MacBook-Pro.local> | 2021-02-03 22:18:23 +0100 |
commit | 953e16879ef2e1d0898c62bb26e2ed023aea30f3 (patch) | |
tree | 8813b7dafef2f5d69e91ad78134e136657696b55 /src/iter | |
parent | 2b3feb57c7881517ff943d92c320c74da6ef2829 (diff) | |
download | rust_rrule-953e16879ef2e1d0898c62bb26e2ed023aea30f3.zip |
support for iterators for set also!
Diffstat (limited to 'src/iter')
-rw-r--r-- | src/iter/iter_v2.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/iter/iter_v2.rs b/src/iter/iter_v2.rs index 47fee79..d2054f9 100644 --- a/src/iter/iter_v2.rs +++ b/src/iter/iter_v2.rs @@ -81,7 +81,6 @@ pub fn generate(iter: &mut RRuleIter) { } if res >= options.dtstart { - println!("Addint here"); iter.remain.push(res); if let Some(count) = iter.ii.options.count { @@ -118,15 +117,7 @@ pub fn generate(iter: &mut RRuleIter) { return; } if res >= options.dtstart { - println!("Addint here 2 with count: {:?}", iter.ii.options.count); iter.remain.push(res); - // let (add, continue_iterator) = iter_result.accept(&res); - // if add { - // iter.remain.push(res); - // } - // if !continue_iterator { - // return; - // } if let Some(count) = iter.ii.options.count { if count > 0 { |