From f5c2483423c92bd3b891f6c612e4a379f169ca3e Mon Sep 17 00:00:00 2001 From: Kyle Kelley Date: Mon, 15 Apr 2024 16:52:19 -0700 Subject: [PATCH] Close the backticks in gpui geometry examples (#10579) I noticed some of the examples in `crates/gpui/src/geometry.rs` were missing ending triple backticks. Release Notes: - N/A --- crates/gpui/src/geometry.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/gpui/src/geometry.rs b/crates/gpui/src/geometry.rs index 53f83ec78f11904d7de26b32ff07bbf8fa8dcec6..75c0fb107cd91ca9758230a5b1e642bc6bf9250a 100644 --- a/crates/gpui/src/geometry.rs +++ b/crates/gpui/src/geometry.rs @@ -1257,6 +1257,7 @@ where /// origin: Point { x: 15.0, y: 15.0 }, /// size: Size { width: 15.0, height: 30.0 }, /// }); + /// ``` pub fn map(&self, f: impl Fn(T) -> U) -> Bounds where U: Clone + Default + Debug, @@ -1283,6 +1284,7 @@ where /// origin: Point { x: 15.0, y: 15.0 }, /// size: Size { width: 10.0, height: 20.0 }, /// }); + /// ``` pub fn map_origin(self, f: impl Fn(Point) -> Point) -> Bounds { Bounds { origin: f(self.origin),