chore: cargo +nightly fmt

This commit is contained in:
Michael Aaron Murphy 2026-05-18 15:05:11 +02:00 committed by Ashley Wulber
parent 5782cb927e
commit 6f863f1905

View file

@ -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),
}
}
}
}