From 78545a93eac0116c2cd8bc639ae2a83da4dab90d Mon Sep 17 00:00:00 2001 From: Lorenzo Lewis Date: Mon, 5 May 2025 23:05:48 +0200 Subject: [PATCH] gpui: Fix typo in doc comment (#29950) Fixes a typo in gpui docs Release Notes: - N/A --- crates/gpui/src/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/gpui/src/util.rs b/crates/gpui/src/util.rs index 7e86136c5781174755e2939778c5cd5870afc999..a1bb6a69b3ee0ccaeee812aabe3fdf515756cec7 100644 --- a/crates/gpui/src/util.rs +++ b/crates/gpui/src/util.rs @@ -40,7 +40,7 @@ pub trait FluentBuilder { } }) } - /// Conditionally unwrap and modify self with the given closure, if the given option is Some. + /// Conditionally unwrap and modify self with the given closure, if the given option is None. fn when_none(self, option: &Option, then: impl FnOnce(Self) -> Self) -> Self where Self: Sized,