Skip to content

Commit

Permalink
lint: allow one clippy::unnested_or_patterns
Browse files Browse the repository at this point in the history
  • Loading branch information
willbush committed Oct 30, 2024
1 parent 83ad721 commit 93685f3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/eval.rs
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,10 @@ fn handle_non_by_name_attribute(
})?;

// At this point, we completed two different checks for whether it's a `callPackage`.

// Allow pedantic lint: https://rust-lang.github.io/rust-clippy/master/index.html#unnested_or_patterns
// fixing it hurts readability of code due to comment restructuring
#[allow(clippy::unnested_or_patterns)]
match (is_semantic_call_package, optional_syntactic_call_package) {
// Something like `<attr> = { }`
(false, None)
Expand Down

0 comments on commit 93685f3

Please sign in to comment.