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

@ -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

View file

@ -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,

View file

@ -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")]