small refactor

This commit is contained in:
Luke
2020-04-19 14:25:29 +12:00
parent 221b230acb
commit 586aa22475
4 changed files with 65 additions and 54 deletions

View File

@@ -16,7 +16,7 @@ pub enum AuraError {
#[error("mode not supported")]
NotSupported,
#[error("USB error")]
UsbError(#[from] rusb::Error),
UsbError(rusb::Error),
#[error("IO error")]
IOError(#[from] std::io::Error),
#[error("external command failed")]