Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Enable the unneeded_field_pattern lint #2332

Merged
merged 4 commits into from
Jan 10, 2025
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ pedantic = { level = "warn", priority = -1 }
if_then_some_else_none = "warn"
get_unwrap = "warn"
pathbuf_init_then_push = "warn"
unneeded_field_pattern = "warn"

# Optimize build dependencies, because bindgen and proc macros / style
# compilation take more to run than to build otherwise.
Expand Down
6 changes: 1 addition & 5 deletions neqo-http3/tests/priority.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,7 @@ fn priority_update() {
};

match header_event {
Http3ServerEvent::Headers {
stream: _,
headers,
fin,
} => {
Http3ServerEvent::Headers { headers, fin, .. } => {
let expected_headers = &[
Header::new(":method", "GET"),
Header::new(":scheme", "https"),
Expand Down
Loading