diff options
author | Fredrik Meringdal <fredrikmeringdal@Fredriks-MacBook-Pro.local> | 2021-02-04 01:41:05 +0100 |
---|---|---|
committer | Fredrik Meringdal <fredrikmeringdal@Fredriks-MacBook-Pro.local> | 2021-02-04 01:41:05 +0100 |
commit | bcfa3833247bc86e95e427717e5f8d6edb2c2eb5 (patch) | |
tree | caff14c4cf184ee75f2fd391ae03e3321e8baa13 /README.md | |
parent | 25f12db8c239fb0133418e4869a1482ef9840add (diff) | |
download | rust_rrule-bcfa3833247bc86e95e427717e5f8d6edb2c2eb5.zip |
bug fix
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ extern crate rrule; use rrule::RRule; // RRule that starts 2012.02.01 and occurs daily for 3 days. -let mut rrule: RRule = "DTSTART:20120201T093000Z\nRRULE:FREQ=DAILY;COUNT=3".parse().unwrap(); +let rrule: RRule = "DTSTART:20120201T093000Z\nRRULE:FREQ=DAILY;COUNT=3".parse().unwrap(); // Get all recurrences of the rrule let recurrences = rrule.all(); // Or rrule.into_iter().collect::<Vec<_>>(); if you want to leverage iterators |