From 144a829d82db142d1f6ae76adf49dddd77751428 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 22 Dec 2018 02:59:15 -0500 Subject: cargo fmt --- src/cmd/sync.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/cmd/sync.rs') diff --git a/src/cmd/sync.rs b/src/cmd/sync.rs index 99e39f7..b6019c4 100644 --- a/src/cmd/sync.rs +++ b/src/cmd/sync.rs @@ -14,7 +14,7 @@ pub fn subcommand<'a, 'b>() -> clap::App<'a, 'b> { .arg( clap::Arg::with_name("username") .required(true) - .help("last.fm username to fetch tracks for") + .help("last.fm username to fetch tracks for"), ) } @@ -39,7 +39,10 @@ impl super::Command for Command { bar.set_style( indicatif::ProgressStyle::default_bar() .progress_chars("=> ") - .template("Downloading {pos}/{len} tracks...\n{percent:>3}% [{wide_bar}] {eta:5}") + .template( + "Downloading {pos}/{len} tracks...\n\ + {percent:>3}% [{wide_bar}] {eta:5}", + ), ); db.insert_tracks(bar.wrap_iter(lastfm.tracks(from)))?; -- cgit v1.2.3-54-g00ecf