Fix fmt
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use std::{env, time, thread};
|
||||
use std::{env, thread, time};
|
||||
|
||||
use inputd::ProducerHandle;
|
||||
use orbclient::KeyEvent as OrbKeyEvent;
|
||||
|
||||
@@ -36,8 +36,8 @@ fn main() {
|
||||
.parse::<PortId>()
|
||||
.expect("expected PORT ID");
|
||||
|
||||
let handle =
|
||||
XhciClientHandle::new(scheme.to_owned(), port).expect("Failed to open XhciClientHandle");
|
||||
let handle = XhciClientHandle::new(scheme.to_owned(), port)
|
||||
.expect("Failed to open XhciClientHandle");
|
||||
|
||||
if let Some(_status_scmd_matches) = port_scmd_matches.subcommand_matches("status") {
|
||||
let state = handle.port_state().expect("Failed to get port state");
|
||||
|
||||
Reference in New Issue
Block a user