Add Result alias (#271)

Adds a `yubikey::Result` alias with `yubikey::Error` as the error type.

Since we only have one `Error` type, this simplifies the return types
where a `Result` is returned.
This commit is contained in:
Tony Arcieri (iqlusion)
2021-07-11 09:44:08 -07:00
committed by GitHub
parent 1051eaf26d
commit de51b0cc46
23 changed files with 210 additions and 223 deletions
+1 -1
View File
@@ -149,7 +149,7 @@ mod transaction;
pub mod yubikey;
pub use self::{
error::Error,
error::{Error, Result},
key::Key,
mgm::MgmKey,
readers::Readers,