Skip to content

Commit

Permalink
Remove obsolete lint
Browse files Browse the repository at this point in the history
  • Loading branch information
RReverser committed Aug 30, 2024
1 parent 4f14e34 commit 7c9094c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/client/discovery.rs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ impl BoundClient {
/// Discover Alpaca servers on the local network.
///
/// This function returns a stream of discovered device addresses.
#[allow(clippy::panic_in_result_fn)] // unreachable! is fine here
pub fn discover_addrs(&mut self) -> impl '_ + futures::Stream<Item = SocketAddr> {
async_fn_stream::fn_stream(|emitter| async move {
self.seen.clear();
Expand Down

0 comments on commit 7c9094c

Please sign in to comment.