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,7 +8,8 @@ async fn main() {
let name = "Librespot"; let name = "Librespot";
let device_id = hex::encode(Sha1::digest(name.as_bytes())); let device_id = hex::encode(Sha1::digest(name.as_bytes()));
let mut server = librespot_discovery::Discovery::builder(device_id, SessionConfig::default().client_id) let mut server =
librespot_discovery::Discovery::builder(device_id, SessionConfig::default().client_id)
.name(name) .name(name)
.device_type(DeviceType::Computer) .device_type(DeviceType::Computer)
.launch() .launch()