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/pianoman.rs | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'src/commands/today/pianoman.rs') diff --git a/src/commands/today/pianoman.rs b/src/commands/today/pianoman.rs index e3a997f..22e8b61 100644 --- a/src/commands/today/pianoman.rs +++ b/src/commands/today/pianoman.rs @@ -3,15 +3,12 @@ use super::prelude::*; lazy_static! { static ref NINE_AM: chrono::NaiveTime = chrono::NaiveTime::from_hms_opt(9, 0, 0).unwrap(); static ref NINE_PM: chrono::NaiveTime = chrono::NaiveTime::from_hms_opt(21, 0, 0).unwrap(); - - static ref PIANOMANS: Vec = vec![ - by_url("https://www.youtube.com/watch?v=gxEPV4kolz0"), - TodayArgs { - url: "https://www.youtube.com/watch?v=gxEPV4kolz0", + static ref PIANOMANS: Vec = + vec![by_url("https://www.youtube.com/watch?v=gxEPV4kolz0"), TodayArgs { + url: "https://www.youtube.com/watch?v=gxEPV4kolz0", start: Some(Duration::seconds(30)), - end: Some(Duration::seconds(34)), - } - ]; + end: Some(Duration::seconds(34)), + }]; } pub fn pianoman(dt: chrono::NaiveDateTime) -> TodayIter { -- cgit v1.3.1