aboutsummaryrefslogtreecommitdiff
path: root/src/calendar.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/calendar.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/calendar.rs b/src/calendar.rs
index fcec54e..a46795b 100644
--- a/src/calendar.rs
+++ b/src/calendar.rs
@@ -58,7 +58,7 @@ impl Calendar {
}
}
- single.sort_by_key(|k| k.start);
+ single.sort();
Ok(Calendar { single, periodic })
}