summaryrefslogtreecommitdiff
path: root/src/rrule.rs
diff options
context:
space:
mode:
authorFredrik Meringdal <fmeringdal@hotmail.com>2020-10-25 21:04:24 +0100
committerFredrik Meringdal <fmeringdal@hotmail.com>2020-10-25 21:04:24 +0100
commit6a9c33a36255cf0f34f35446c22ea98434a566f0 (patch)
tree35241a0254a3abd2dd38ba73ad8e728cc5f8aee6 /src/rrule.rs
parent9a1821ae33ad4535000d6790b690f8efa2d76d0f (diff)
downloadrust_rrule-6a9c33a36255cf0f34f35446c22ea98434a566f0.zip
Progress on timezone support
Diffstat (limited to 'src/rrule.rs')
-rw-r--r--src/rrule.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rrule.rs b/src/rrule.rs
index 8e8f192..08ebd7d 100644
--- a/src/rrule.rs
+++ b/src/rrule.rs
@@ -23,7 +23,7 @@ impl RRule {
after: None,
dt: None,
};
- let mut iter_res = RRuleIterRes::new(QueryMethodTypes::ALL, iter_args);
+ let mut iter_res = RRuleIterRes::new(QueryMethodTypes::All, iter_args);
let res = iter_v2(&mut iter_res, &mut self.options);
res
@@ -41,7 +41,7 @@ impl RRule {
after: Some(after.clone()),
dt: None,
};
- let mut iter_res = RRuleIterRes::new(QueryMethodTypes::ALL, iter_args);
+ let mut iter_res = RRuleIterRes::new(QueryMethodTypes::All, iter_args);
let res = iter_v2(&mut iter_res, &mut self.options);
res