aboutsummaryrefslogtreecommitdiff
path: root/src/commands/today/halloween.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/today/halloween.rs')
-rw-r--r--src/commands/today/halloween.rs14
1 files changed, 5 insertions, 9 deletions
diff --git a/src/commands/today/halloween.rs b/src/commands/today/halloween.rs
index 3fb1c18..f09146b 100644
--- a/src/commands/today/halloween.rs
+++ b/src/commands/today/halloween.rs
@@ -1,12 +1,10 @@
use super::prelude::*;
lazy_static! {
- static ref HALLOWEEN: Vec<TodayArgs> = vec![
- TodayArgs {
- url: "https://www.youtube.com/watch?v=-1dSY6ZuXEY",
- ..Default::default()
- },
- ];
+ static ref HALLOWEEN: Vec<TodayArgs> = vec![TodayArgs {
+ url: "https://www.youtube.com/watch?v=-1dSY6ZuXEY",
+ ..Default::default()
+ },];
}
pub fn halloween(date: chrono::NaiveDateTime) -> TodayIter {
@@ -14,7 +12,5 @@ pub fn halloween(date: chrono::NaiveDateTime) -> TodayIter {
return Box::new(empty());
}
- Box::new(
- HALLOWEEN.iter().cloned()
- )
+ Box::new(HALLOWEEN.iter().cloned())
}