fix clippy

This commit is contained in:
fakeshadow 2021-04-01 04:00:31 +08:00
parent 51d9d4c776
commit 9b0dcca99e
1 changed files with 1 additions and 1 deletions

View File

@ -241,7 +241,7 @@ impl Accept {
sockets
.iter_mut()
// Only the ServerSocketInfo have an associate timeout value was de registered.
.filter(|(token, info)| info.timeout.is_some())
.filter(|(_, info)| info.timeout.is_some())
.for_each(|(token, info)| {
let inst = info.timeout.take().unwrap();