Skip to content

Commit

Permalink
Disable a clippy warning that we can't satisfy for Syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Jan 23, 2023
1 parent a37edba commit edb51ec
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
// Purely stylistic, and ignores whether there are explanatory
// comments in the if/else.
#![allow(clippy::bool_to_int_with_if)]
// Good practice in general, but a necessary evil for Syntax. Its Hash
// implementation does not consider the mutable fields, so it is still
// correct.
#![allow(clippy::mutable_key_type)]

mod constants;
mod diff;
Expand Down

0 comments on commit edb51ec

Please sign in to comment.