From 6f863f19052f1ac576d1a9bef2897d14b29b3f7d Mon Sep 17 00:00:00 2001 From: Michael Aaron Murphy Date: Mon, 18 May 2026 15:05:11 +0200 Subject: [PATCH] chore: cargo +nightly fmt --- src/widget/menu/key_bind.rs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/widget/menu/key_bind.rs b/src/widget/menu/key_bind.rs index d6e40e0..ef87b34 100644 --- a/src/widget/menu/key_bind.rs +++ b/src/widget/menu/key_bind.rs @@ -44,7 +44,12 @@ impl KeyBind { /// # Returns /// /// * `bool` - `true` if the key and modifiers match the `KeyBind`, `false` otherwise. - pub fn matches(&self, modifiers: Modifiers, key: &Key, physical_key: Option<&Physical>) -> bool { + pub fn matches( + &self, + modifiers: Modifiers, + key: &Key, + physical_key: Option<&Physical>, + ) -> bool { let key_eq = self.key_eq(key) || physical_key .and_then(physical_key_to_latin) @@ -132,4 +137,4 @@ impl fmt::Display for KeyBind { other => write!(f, "{:?}", other), } } -} \ No newline at end of file +}