gpui: Fix typo in doc comment (#29950)
Fixes a typo in gpui docs Release Notes: - N/A
This commit is contained in:
parent
dd79c29af9
commit
78545a93ea
1 changed files with 1 additions and 1 deletions
|
@ -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
|
fn when_none<T>(self, option: &Option<T>, then: impl FnOnce(Self) -> Self) -> Self
|
||||||
where
|
where
|
||||||
Self: Sized,
|
Self: Sized,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue