mirror of
https://github.com/librespot-org/librespot.git
synced 2025-10-05 10:49:40 +02:00
fix: fix clippy needless-borrow on discovery lib
This commit is contained in:
parent
eb7c65e77b
commit
3ec43ad020
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ fn launch_libmdns(
|
||||||
}
|
}
|
||||||
.map_err(|e| DiscoveryError::DnsSdError(Box::new(e)))?;
|
.map_err(|e| DiscoveryError::DnsSdError(Box::new(e)))?;
|
||||||
|
|
||||||
let svc = responder.register(&DNS_SD_SERVICE_NAME, &name, port, &TXT_RECORD);
|
let svc = responder.register(DNS_SD_SERVICE_NAME, &name, port, &TXT_RECORD);
|
||||||
|
|
||||||
let _ = shutdown_rx.blocking_recv();
|
let _ = shutdown_rx.blocking_recv();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue