Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
KershawChang committed Jul 7, 2023
1 parent 1aca3ac commit 185ddc1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions neqo-transport/src/connection/tests/datagram.rs
Original file line number Diff line number Diff line change
Expand Up @@ -249,8 +249,9 @@ fn datagram_after_stream_data() {
let events: Vec<_> = server
.events()
.filter_map(|evt| match evt {
ConnectionEvent::RecvStreamReadable { .. } => Some(evt),
ConnectionEvent::Datagram { .. } => Some(evt),
ConnectionEvent::RecvStreamReadable { .. } | ConnectionEvent::Datagram { .. } => {
Some(evt)
}
_ => None,
})
.collect();
Expand Down

0 comments on commit 185ddc1

Please sign in to comment.