Skip to content

Commit 3ce2211

Browse files
akoselplietar
authored andcommitted
Fix example use declarations (plietar#160)
1 parent 4f3a594 commit 3ce2211

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/play.rs

+4-3
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ use std::env;
55
use tokio_core::reactor::Core;
66

77
use librespot::core::authentication::Credentials;
8-
use librespot::playback::config::{PlayerConfig, SessionConfig};
8+
use librespot::core::config::SessionConfig;
9+
use librespot::playback::config::PlayerConfig;
910
use librespot::core::session::Session;
1011
use librespot::core::spotify_id::SpotifyId;
1112

12-
use librespot::audio_backend;
13-
use librespot::player::Player;
13+
use librespot::playback::audio_backend;
14+
use librespot::playback::player::Player;
1415

1516
fn main() {
1617
let mut core = Core::new().unwrap();

0 commit comments

Comments
 (0)