Skip to content

Commit 0fce925

Browse files
committedMar 3, 2025
chore: remove deprecated clippy attribute
1 parent bb6af4d commit 0fce925

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎packages/udp-tracker-core/src/services/announce.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ use crate::connection_cookie::{check, gen_remote_fingerprint, ConnectionCookieEr
2222
use crate::statistics;
2323

2424
/// The `AnnounceService` is responsible for handling the `announce` requests.
25+
///
26+
/// The service sends an statistics event that increments:
27+
///
28+
/// - The number of UDP `announce` requests handled by the UDP tracker.
2529
pub struct AnnounceService {
2630
announce_handler: Arc<AnnounceHandler>,
2731
whitelist_authorization: Arc<whitelist::authorization::WhitelistAuthorization>,
@@ -50,7 +54,6 @@ impl AnnounceService {
5054
///
5155
/// - The tracker is running in listed mode and the torrent is not in the
5256
/// whitelist.
53-
#[allow(clippy::too_many_arguments)]
5457
pub async fn handle_announce(
5558
&self,
5659
remote_addr: SocketAddr,

0 commit comments

Comments
 (0)