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 17:05:48 -04:00
committed by GitHub
parent dd79c29af9
commit 78545a93ea
+1 -1
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,