Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
mxinden committed Sep 30, 2024
1 parent f675eb9 commit d0916a8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions neqo-transport/src/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -501,8 +501,7 @@ impl Server {
Output::None
};

#[allow(clippy::option_if_let_else)]
let output = if let Output::None = output {
let output = if output == Output::None {
self.process_next_output(now, out)
} else {
output
Expand Down

0 comments on commit d0916a8

Please sign in to comment.