Disable a clippy warning that we can't satisfy for Syntax

This commit is contained in:
Wilfred Hughes 2023-01-22 20:03:28 -08:00
parent a37edbab8d
commit edb51ece86
1 changed files with 4 additions and 0 deletions

View File

@ -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;