Use collections::{HashMap, HashSet} instead of its std:: counterpart (#7502)
This commit is contained in:
parent
c322179bb9
commit
83cffdde1f
19 changed files with 36 additions and 42 deletions
|
@ -13,6 +13,7 @@ doctest = false
|
|||
[dependencies]
|
||||
alacritty_terminal = "0.22.0"
|
||||
anyhow.workspace = true
|
||||
collections.workspace = true
|
||||
db.workspace = true
|
||||
dirs = "4.0.0"
|
||||
futures.workspace = true
|
||||
|
|
|
@ -30,6 +30,7 @@ use mappings::mouse::{
|
|||
scroll_report,
|
||||
};
|
||||
|
||||
use collections::{HashMap, VecDeque};
|
||||
use procinfo::LocalProcessInfo;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use settings::Settings;
|
||||
|
@ -39,7 +40,6 @@ use util::truncate_and_trailoff;
|
|||
|
||||
use std::{
|
||||
cmp::{self, min},
|
||||
collections::{HashMap, VecDeque},
|
||||
fmt::Display,
|
||||
ops::{Deref, Index, RangeInclusive},
|
||||
os::unix::prelude::AsRawFd,
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
use collections::HashMap;
|
||||
use gpui::{px, AbsoluteLength, AppContext, FontFeatures, Pixels};
|
||||
use schemars::{
|
||||
gen::SchemaGenerator,
|
||||
|
@ -7,7 +8,7 @@ use schemars::{
|
|||
use serde_derive::{Deserialize, Serialize};
|
||||
use serde_json::Value;
|
||||
use settings::SettingsJsonSchemaParams;
|
||||
use std::{collections::HashMap, path::PathBuf};
|
||||
use std::path::PathBuf;
|
||||
|
||||
#[derive(Copy, Clone, Debug, Serialize, Deserialize, JsonSchema, PartialEq, Eq)]
|
||||
#[serde(rename_all = "snake_case")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue