mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-08-03 09:52:27 +00:00
dev: a false positive of clippy (#487)
This commit is contained in:
parent
05f1645ccd
commit
859fb468e2
1 changed files with 2 additions and 0 deletions
|
@ -274,6 +274,8 @@ impl Eq for CatKey {}
|
|||
|
||||
// todo: category of types
|
||||
static ROUTE_MAPS: Lazy<HashMap<CatKey, String>> = Lazy::new(|| {
|
||||
// todo: this is a false positive for clippy on LazyHash
|
||||
#[allow(clippy::mutable_key_type)]
|
||||
let mut map = HashMap::new();
|
||||
let mut scope_to_finds = vec![
|
||||
(LIBRARY.global.scope(), None, None),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue