Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Remove deprecated std::usize import from uniform_list.rs (#62841)

John Yani3f660a0a60a5
diff --git a/crates/debugger_ui/src/session/running/console.rs b/crates/debugger_ui/src/session/running/console.rs
index fd1373ebf49..12c8d883026 100644
--- a/crates/debugger_ui/src/session/running/console.rs
+++ b/crates/debugger_ui/src/session/running/console.rs
@@ -23,7 +23,7 @@ use project::{
search_history::{SearchHistory, SearchHistoryCursor},
};
use settings::Settings;
-use std::{ops::Range, rc::Rc, usize};
+use std::{ops::Range, rc::Rc};
use theme::Theme;
use theme_settings::ThemeSettings;
use ui::{ContextMenu, Divider, PopoverMenu, SplitButton, Tooltip, prelude::*};
diff --git a/crates/git_ui/src/git_panel.rs b/crates/git_ui/src/git_panel.rs
index 1b0f50bb7c8..271a81dccd2 100644
--- a/crates/git_ui/src/git_panel.rs
+++ b/crates/git_ui/src/git_panel.rs
@@ -84,7 +84,7 @@ use std::future::Future;
use std::ops::Range;
use std::path::Path;
use std::rc::Rc;
-use std::{sync::Arc, time::Duration, usize};
+use std::{sync::Arc, time::Duration};
use strum::{IntoEnumIterator, VariantNames};
use theme_settings::ThemeSettings;
use time::OffsetDateTime;
diff --git a/crates/gpui/src/elements/uniform_list.rs b/crates/gpui/src/elements/uniform_list.rs
index 94ac0021ec8..0a449a20a3c 100644
--- a/crates/gpui/src/elements/uniform_list.rs
+++ b/crates/gpui/src/elements/uniform_list.rs
@@ -11,7 +11,7 @@ use crate::{
StyleRefinement, Styled, Window, point, px, size,
};
use smallvec::SmallVec;
-use std::{cell::RefCell, cmp, ops::Range, rc::Rc, usize};
+use std::{cell::RefCell, cmp, ops::Range, rc::Rc};
use super::ListHorizontalSizingBehavior;
diff --git a/crates/project/src/debugger/breakpoint_store.rs b/crates/project/src/debugger/breakpoint_store.rs
index f307afe888a..16266fe7281 100644
--- a/crates/project/src/debugger/breakpoint_store.rs
+++ b/crates/project/src/debugger/breakpoint_store.rs
@@ -15,7 +15,7 @@ use rpc::{
AnyProtoClient, TypedEnvelope,
proto::{self},
};
-use std::{hash::Hash, ops::Range, path::Path, sync::Arc, u32};
+use std::{hash::Hash, ops::Range, path::Path, sync::Arc};
use text::{Bias, Point, PointUtf16, Unclipped};
use util::maybe;
diff --git a/crates/project/src/debugger/session.rs b/crates/project/src/debugger/session.rs
index 634feeccd9d..56c5681aec3 100644
--- a/crates/project/src/debugger/session.rs
+++ b/crates/project/src/debugger/session.rs
@@ -52,7 +52,6 @@ use std::net::{IpAddr, Ipv4Addr};
use std::ops::RangeInclusive;
use std::path::PathBuf;
use std::time::Duration;
-use std::u64;
use std::{
any::Any,
collections::hash_map::Entry,