cargo fmt

This commit is contained in:
Henrik Friedrichsen
2019-02-26 23:32:38 +01:00
parent 862f835164
commit bebc6175cc
2 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
use std::collections::VecDeque;
use std::collections::vec_deque::Iter; use std::collections::vec_deque::Iter;
use std::collections::VecDeque;
use rspotify::spotify::model::track::FullTrack; use rspotify::spotify::model::track::FullTrack;

View File

@@ -28,7 +28,7 @@ impl QueueView {
QueueView { QueueView {
view: Some(panel), view: Some(panel),
queue: queue, queue: queue,
spotify: spotify spotify: spotify,
} }
} }
@@ -44,7 +44,7 @@ impl QueueView {
.iter() .iter()
.map(|ref artist| artist.name.clone()) .map(|ref artist| artist.name.clone())
.collect::<Vec<String>>() .collect::<Vec<String>>()
.join(", "); .join(", ");
let formatted = format!("{} - {}", artists, track.name); let formatted = format!("{} - {}", artists, track.name);
let trackid = SpotifyId::from_base62(&track.id).expect("could not load track"); let trackid = SpotifyId::from_base62(&track.id).expect("could not load track");