gpui: Fix typo in doc comment (#29950)

Fixes a typo in gpui docs

Release Notes:

- N/A
This commit is contained in:
Lorenzo Lewis 2025-05-05 23:05:48 +02:00 committed by GitHub
parent dd79c29af9
commit 78545a93ea
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) -> Self
where
Self: Sized,