cargo fmt
This commit is contained in:
@@ -19,12 +19,13 @@ pub struct PlaylistView {
|
||||
impl PlaylistView {
|
||||
pub fn new(queue: Arc<Queue>, library: Arc<Library>, playlist: &Playlist) -> Self {
|
||||
let playlist = playlist.clone();
|
||||
let list = ListView::new(Arc::new(RwLock::new(playlist.tracks.clone())), queue, library);
|
||||
let list = ListView::new(
|
||||
Arc::new(RwLock::new(playlist.tracks.clone())),
|
||||
queue,
|
||||
library,
|
||||
);
|
||||
|
||||
Self {
|
||||
playlist,
|
||||
list
|
||||
}
|
||||
Self { playlist, list }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user