diff --git a/crates/gpui/src/geometry.rs b/crates/gpui/src/geometry.rs index 11d03b2f7a..8d726f6d28 100644 --- a/crates/gpui/src/geometry.rs +++ b/crates/gpui/src/geometry.rs @@ -815,14 +815,8 @@ where Bounds { origin, size } } - /// Constructs a `Bounds` from a corner point and size. - /// - /// # Examples - /// - /// ``` - /// # use zed::{Bounds, Corner, Point}; - /// todo! - /// ``` + /// Constructs a `Bounds` from a corner point and size. The specified corner will be placed at + /// the specified origin. pub fn from_corner_and_size(corner: Corner, origin: Point, size: Size) -> Bounds { let origin = match corner { Corner::TopLeft => origin,