Format Rust code using rustfmt

This commit is contained in:
github-actions[bot] 2024-11-19 12:27:37 +00:00 committed by GitHub
parent 3b4b711b80
commit 3aa41e13cb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -265,8 +265,7 @@ impl EventReader {
let switcher: Key = self.settings.layout_switcher; let switcher: Key = self.settings.layout_switcher;
let mut stream = self.stream.lock().await; let mut stream = self.stream.lock().await;
let mut pen_events: Vec<InputEvent> = Vec::new(); let mut pen_events: Vec<InputEvent> = Vec::new();
let is_tablet: bool = let is_tablet: bool = stream
stream
.device() .device()
.supported_keys() .supported_keys()
.unwrap_or(&evdev::AttributeSet::new()) .unwrap_or(&evdev::AttributeSet::new())