Use collections::{HashMap, HashSet} instead of its std:: counterpart (#7502)

This commit is contained in:
Kirill Bulatov 2024-02-07 19:06:03 +02:00 committed by GitHub
parent c322179bb9
commit 83cffdde1f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 36 additions and 42 deletions

View file

@ -7,6 +7,7 @@ license = "GPL-3.0-or-later"
[dependencies]
anyhow.workspace = true
collections.workspace = true
futures.workspace = true
indoc.workspace = true
lazy_static.workspace = true

View file

@ -1,8 +1,9 @@
use anyhow::Context;
use collections::HashMap;
use futures::{channel::oneshot, Future, FutureExt};
use lazy_static::lazy_static;
use parking_lot::{Mutex, RwLock};
use std::{collections::HashMap, marker::PhantomData, ops::Deref, sync::Arc, thread};
use std::{marker::PhantomData, ops::Deref, sync::Arc, thread};
use thread_local::ThreadLocal;
use crate::{connection::Connection, domain::Migrator, util::UnboundedSyncSender};