Ensure we dont use std hashmaps (#1848)

* Ensure we dont use std hashmaps
* coalescing the clippy config files

---------

Co-authored-by: James Hodgkinson <james@terminaloutcomes.com>
This commit is contained in:
Firstyear 2023-07-13 06:51:40 +10:00 committed by GitHub
parent 07580cf57a
commit c260f1244d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -11,3 +11,5 @@ too-many-arguments-threshold = 8
# default's 250
type-complexity-threshold = 300
disallowed-types = ["std::collections::HashMap", "std::collections::HashSet"]

View file

@ -14,6 +14,7 @@
#![deny(clippy::await_holding_lock)]
#![deny(clippy::needless_pass_by_value)]
#![deny(clippy::trivially_copy_pass_by_ref)]
#![deny(clippy::disallowed_types)]
#![allow(clippy::unreachable)]
#[cfg(all(jemallocator, test, not(target_family = "windows")))]