From 002d83f26f11e45e25258b2843746cf1737be6ab Mon Sep 17 00:00:00 2001 From: Fredrik Meringdal Date: Thu, 4 Feb 2021 10:30:52 +0100 Subject: using vecdeque instead of veq for buffering --- src/rrule_iter.rs | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/rrule_iter.rs b/src/rrule_iter.rs index 7cb0f80..421e8ab 100644 --- a/src/rrule_iter.rs +++ b/src/rrule_iter.rs @@ -5,6 +5,7 @@ use crate::{datetime::from_ordinal, RRule}; use crate::{datetime::Time, Frequenzy}; use chrono::prelude::*; use chrono_tz::Tz; +use std::collections::VecDeque; const MAX_YEAR: i32 = 9999; @@ -12,7 +13,7 @@ pub struct RRuleIter { pub counter_date: DateTime, pub ii: IterInfo, pub timeset: Vec