aboutsummaryrefslogtreecommitdiff
path: root/src/commands/today/pianoman.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/pianoman.rs
parent7d47be4c40ac8f9a9c33ae8c78e44d20c2c46ef6 (diff)
repo: apply rustfmt
Diffstat (limited to 'src/commands/today/pianoman.rs')
-rw-r--r--src/commands/today/pianoman.rs13
1 files changed, 5 insertions, 8 deletions
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<TodayArgs> = vec![
- by_url("https://www.youtube.com/watch?v=gxEPV4kolz0"),
- TodayArgs {
- url: "https://www.youtube.com/watch?v=gxEPV4kolz0",
+ static ref PIANOMANS: Vec<TodayArgs> =
+ 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 {