cargo fmt
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user