summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorFredrik Meringdal <fredrikmeringdal@Fredriks-MacBook-Pro.local>2021-02-04 01:41:05 +0100
committerFredrik Meringdal <fredrikmeringdal@Fredriks-MacBook-Pro.local>2021-02-04 01:41:05 +0100
commitbcfa3833247bc86e95e427717e5f8d6edb2c2eb5 (patch)
treecaff14c4cf184ee75f2fd391ae03e3321e8baa13 /README.md
parent25f12db8c239fb0133418e4869a1482ef9840add (diff)
downloadrust_rrule-bcfa3833247bc86e95e427717e5f8d6edb2c2eb5.zip
bug fix
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index f83ca66..ef11625 100644
--- a/README.md
+++ b/README.md
@@ -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