mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
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:
parent
07580cf57a
commit
c260f1244d
|
@ -11,3 +11,5 @@ too-many-arguments-threshold = 8
|
|||
|
||||
# default's 250
|
||||
type-complexity-threshold = 300
|
||||
|
||||
disallowed-types = ["std::collections::HashMap", "std::collections::HashSet"]
|
|
@ -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")))]
|
||||
|
|
Loading…
Reference in a new issue