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.

Use fully-qualified name to avoid an unused import (#7104)

Marshall Bowers2e7f9c48bba4
diff --git a/crates/gpui/src/style.rs b/crates/gpui/src/style.rs
index ef2622e3eb6..6118a0ae963 100644
--- a/crates/gpui/src/style.rs
+++ b/crates/gpui/src/style.rs
@@ -3,8 +3,8 @@ use std::{iter, mem, ops::Range};
use crate::{
black, phi, point, quad, rems, AbsoluteLength, Bounds, ContentMask, Corners, CornersRefinement,
CursorStyle, DefiniteLength, Edges, EdgesRefinement, ElementContext, Font, FontFeatures,
- FontStyle, FontWeight, Global, Hsla, Length, Pixels, Point, PointRefinement, Rgba,
- SharedString, Size, SizeRefinement, Styled, TextRun,
+ FontStyle, FontWeight, Hsla, Length, Pixels, Point, PointRefinement, Rgba, SharedString, Size,
+ SizeRefinement, Styled, TextRun,
};
use collections::HashSet;
use refineable::Refineable;
@@ -21,7 +21,7 @@ pub use taffy::style::{
pub struct DebugBelow;
#[cfg(debug_assertions)]
-impl Global for DebugBelow {}
+impl crate::Global for DebugBelow {}
/// The CSS styling that can be applied to an element via the `Styled` trait
#[derive(Clone, Refineable, Debug)]