Fix a bunch of warnings
This commit is contained in:
@@ -249,7 +249,7 @@ impl Ps2 {
|
||||
warn!("keyboard incorrect result of set command: {command:?} {res:02X}");
|
||||
return Ok(res);
|
||||
}
|
||||
x.write(data);
|
||||
x.write(data)?;
|
||||
x.read()
|
||||
},
|
||||
)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
use inputd::ProducerHandle;
|
||||
use log::{error, info, warn};
|
||||
use log::{error, warn};
|
||||
use orbclient::{ButtonEvent, KeyEvent, MouseEvent, MouseRelativeEvent, ScrollEvent};
|
||||
use std::{
|
||||
convert::TryInto,
|
||||
|
||||
Reference in New Issue
Block a user