Misc nitpicks, changes too small / unrelated to be in other PRs (#32768)

Release Notes:

- N/A
This commit is contained in:
Michael Sloan 2025-06-15 13:51:04 -06:00 committed by GitHub
parent 02da4669f3
commit 3810227759
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 26 additions and 21 deletions

View file

@ -255,7 +255,7 @@ pub trait VisualContext: AppContext {
update: impl FnOnce(&mut T, &mut Window, &mut Context<T>) -> R,
) -> Self::Result<R>;
/// Update a view with the given callback
/// Create a new entity, with access to `Window`.
fn new_window_entity<T: 'static>(
&mut self,
build_entity: impl FnOnce(&mut Window, &mut Context<T>) -> T,