aboutsummaryrefslogtreecommitdiff
path: root/src/commands/today/halloween.rs
diff options
context:
space:
mode:
authorNathan Perry <np@nathanperry.dev>2024-08-16 05:18:39 -0400
committerNathan Perry <np@nathanperry.dev>2024-08-16 05:18:39 -0400
commit728d951b87ae9ba15ca1453d24ce9ce618badd5a (patch)
tree55f77c3d9c3fe0f7d659161fa85c729981cee27b /src/commands/today/halloween.rs
parent7d47be4c40ac8f9a9c33ae8c78e44d20c2c46ef6 (diff)
repo: apply rustfmt
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())
}