mirror of
https://github.com/n0-computer/noq.git
synced 2026-09-20 18:23:41 +00:00
Fix clippy errors
This commit is contained in:
committed by
Benjamin Saunders
parent
5f9a2213c3
commit
851b6e296c
@@ -618,7 +618,6 @@ impl Connection {
|
||||
);
|
||||
}
|
||||
}
|
||||
mem::drop(space);
|
||||
|
||||
// OnPacketsLost
|
||||
if let Some(largest_lost) = lost_packets.last().cloned() {
|
||||
|
||||
@@ -803,7 +803,7 @@ pub enum SpaceId {
|
||||
impl SpaceId {
|
||||
pub fn iter() -> impl Iterator<Item = Self> {
|
||||
[SpaceId::Initial, SpaceId::Handshake, SpaceId::Data]
|
||||
.into_iter()
|
||||
.iter()
|
||||
.cloned()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user