Fix fmt lint from 05dcb652a0

This commit is contained in:
JasonLG1979 2022-10-01 19:51:55 -05:00
parent 05dcb652a0
commit ce9eb42469

View file

@ -8,11 +8,12 @@ async fn main() {
let name = "Librespot";
let device_id = hex::encode(Sha1::digest(name.as_bytes()));
let mut server = librespot_discovery::Discovery::builder(device_id, SessionConfig::default().client_id)
.name(name)
.device_type(DeviceType::Computer)
.launch()
.unwrap();
let mut server =
librespot_discovery::Discovery::builder(device_id, SessionConfig::default().client_id)
.name(name)
.device_type(DeviceType::Computer)
.launch()
.unwrap();
while let Some(x) = server.next().await {
println!("Received {:?}", x);