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
This commit is contained in:
Kyle Kelley 2024-04-15 16:52:19 -07:00 committed by GitHub
parent 4d314b2dd0
commit f5c2483423
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1257,6 +1257,7 @@ where
/// origin: Point { x: 15.0, y: 15.0 },
/// size: Size { width: 15.0, height: 30.0 },
/// });
/// ```
pub fn map<U>(&self, f: impl Fn(T) -> U) -> Bounds<U>
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<T>) -> Point<T>) -> Bounds<T> {
Bounds {
origin: f(self.origin),