Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
gpui: Fix typo in doc comment (#29950)
Lorenzo Lewis78545a93eac0
diff --git a/crates/gpui/src/util.rs b/crates/gpui/src/util.rsindex 7e86136c578..a1bb6a69b3e 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<T>(self, option: &Option<T>, then: impl FnOnce(Self) -> Self) -> SelfwhereSelf: Sized,