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,