Skip to content

Commit 0a37dcb

Browse files
committed
Fix clippy warning
1 parent e9856e2 commit 0a37dcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

input-emulation/src/evdev.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ impl Emulation for EvdevEmulation {
6767
};
6868
// TODO check that the conversion for `value` is right
6969
self.dev
70-
.emit(&[*evdev::RelativeAxisEvent::new(axis, value as i32 * 120)])?;
70+
.emit(&[*evdev::RelativeAxisEvent::new(axis, value * 120)])?;
7171
}
7272
},
7373
input_event::Event::Keyboard(k) => match k {

0 commit comments

Comments
 (0)