Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
gpui: Don’t hide `Window` in docs (#25449)
Jason Leeb1b6401ce724
diff --git a/crates/gpui/src/window.rs b/crates/gpui/src/window.rsindex b3afcdb63d3..ad6ace22cce 100644--- a/crates/gpui/src/window.rs+++ b/crates/gpui/src/window.rs@@ -593,8 +593,7 @@ impl Frame {}}-// Holds the state for a specific window.-#[doc(hidden)]+/// Holds the state for a specific window.pub struct Window {pub(crate) handle: AnyWindowHandle,pub(crate) invalidator: WindowInvalidator,@@ -1007,6 +1006,7 @@ impl Window {subscription}+ /// Replaces the root entity of the window with a new one.pub fn replace_root<E>(&mut self,cx: &mut App,@@ -1021,6 +1021,7 @@ impl Window {view}+ /// Returns the root entity of the window, if it has one.pub fn root<E>(&self) -> Option<Option<Entity<E>>>whereE: 'static + Render,