Merge pull request #1062 from JasonLG1979/fix-fmt-lint

Fix fmt lint
This commit is contained in:
Roderick van Domburg 2022-10-02 11:06:05 +02:00 committed by GitHub
commit 29ec49b74c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,7 +8,8 @@ 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)
let mut server =
librespot_discovery::Discovery::builder(device_id, SessionConfig::default().client_id)
.name(name)
.device_type(DeviceType::Computer)
.launch()