small fixes

This commit is contained in:
Henrik Friedrichsen
2019-03-06 00:47:30 +01:00
parent 7b4c40026a
commit 0d2896363f
4 changed files with 3 additions and 4 deletions

View File

@@ -3,7 +3,6 @@ use librespot::core::config::SessionConfig;
use librespot::core::keymaster::get_token;
use librespot::core::keymaster::Token;
use librespot::core::session::Session;
use librespot::core::spotify_id::SpotifyId;
use librespot::playback::config::PlayerConfig;
use librespot::playback::audio_backend;

View File

@@ -45,7 +45,7 @@ impl fmt::Debug for Track {
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(
f,
"({} - {} ({})",
"({} - {} ({}))",
self.artists,
self.title,
self.id.to_base62()

View File

@@ -2,6 +2,6 @@ pub mod layout;
pub mod playlist;
pub mod queue;
pub mod search;
pub mod statusbar;
pub mod splitbutton;
pub mod statusbar;
pub mod trackbutton;

View File

@@ -1,5 +1,5 @@
use ui::splitbutton::SplitButton;
use track::Track;
use ui::splitbutton::SplitButton;
pub struct TrackButton {}