Skip to content

Commit

Permalink
add Send/Sync for ManagedAvahiClient as per clippy
Browse files Browse the repository at this point in the history
Signed-off-by: Walker Crouse <walkercrouse@hotmail.com>
  • Loading branch information
windy1 committed Aug 10, 2024
1 parent cb000e7 commit 171306a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zeroconf/src/avahi/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ impl Drop for ManagedAvahiClient {
}
}

unsafe impl Send for ManagedAvahiClient {}
unsafe impl Sync for ManagedAvahiClient {}

/// Holds parameters for initializing a new `ManagedAvahiClient` with `ManagedAvahiClient::new()`.
///
/// See [`avahi_client_new()`] for more information about these parameters.
Expand Down

0 comments on commit 171306a

Please sign in to comment.