Skip to content

Commit

Permalink
Fix new lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Icelk committed Feb 11, 2024
1 parent ea543f1 commit 570364b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shutdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ impl AcceptManager {
///
/// Please increase the count of connections on [`Manager`] when this connection is accepted
/// and decrease it when the connection dies.
#[allow(clippy::let_and_return)] // cfg
#[allow(clippy::let_and_return, clippy::no_effect_underscore_binding)] // cfg
pub(crate) async fn accept(&mut self, _manager: &Manager) -> AcceptAction {
#[cfg(feature = "async-networking")]
{
Expand Down

0 comments on commit 570364b

Please sign in to comment.