Run cargo fmt with Rust 1.72

This commit is contained in:
Héctor Ramón Jiménez 2023-08-26 01:31:11 +02:00
parent 96b435488a
commit 36120d5685
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
3 changed files with 21 additions and 11 deletions

View file

@ -693,7 +693,9 @@ where
let state = state();
if let Some(focus) = &mut state.is_focused {
let Some(on_input) = on_input else { return event::Status::Ignored };
let Some(on_input) = on_input else {
return event::Status::Ignored;
};
if state.is_pasting.is_none()
&& !state.keyboard_modifiers.command()
@ -716,7 +718,9 @@ where
let state = state();
if let Some(focus) = &mut state.is_focused {
let Some(on_input) = on_input else { return event::Status::Ignored };
let Some(on_input) = on_input else {
return event::Status::Ignored;
};
let modifiers = state.keyboard_modifiers;
focus.updated_at = Instant::now();