From 728d951b87ae9ba15ca1453d24ce9ce618badd5a Mon Sep 17 00:00:00 2001 From: Nathan Perry Date: Fri, 16 Aug 2024 05:18:39 -0400 Subject: repo: apply rustfmt --- src/commands/today/halloween.rs | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'src/commands/today/halloween.rs') 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 = vec![ - TodayArgs { - url: "https://www.youtube.com/watch?v=-1dSY6ZuXEY", - ..Default::default() - }, - ]; + static ref HALLOWEEN: Vec = 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()) } -- cgit v1.3.1