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 unused `GraphicSlot` enum

Marshall Bowers865baaa1a171
diff --git a/crates/ui2/src/slot.rs b/crates/ui2/src/slot.rs
deleted file mode 100644
index 3438e346217..00000000000
--- a/crates/ui2/src/slot.rs
+++ /dev/null
@@ -1,12 +0,0 @@
-use gpui::{ImageSource, SharedString};
-
-use crate::Icon;
-
-/// A slot utility that provides a way to to pass either
-/// an icon or an image to a component.
-#[derive(Debug, Clone)]
-pub enum GraphicSlot {
- Icon(Icon),
- Avatar(ImageSource),
- PublicActor(SharedString),
-}