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.

Restore `Sized` bound on `StyleHelpers`

Marshall Bowers65cd4f5838dd
diff --git a/crates/gpui3/src/style_helpers.rs b/crates/gpui3/src/style_helpers.rs
index b58da2fbfc7..9bdcf7fafbb 100644
--- a/crates/gpui3/src/style_helpers.rs
+++ b/crates/gpui3/src/style_helpers.rs
@@ -5,7 +5,7 @@ use crate::{
};
use smallvec::smallvec;
-pub trait StyleHelpers: Styled<Style = Style> {
+pub trait StyleHelpers: Sized + Styled<Style = Style> {
gpui3_macros::style_helpers!();
fn h(mut self, height: Length) -> Self {