Simplify update signature in text_input

This commit is contained in:
Héctor Ramón Jiménez 2022-07-13 18:37:27 +02:00
parent 891b917576
commit 54c9815b7b
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
2 changed files with 3 additions and 3 deletions

View file

@ -227,7 +227,7 @@ where
&self.font,
self.is_secure,
self.on_change.as_ref(),
&self.on_paste,
self.on_paste.as_deref(),
&self.on_submit,
|| tree.state.downcast_mut::<text_input::State>(),
)