summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-28 19:40:49 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-01-28 19:40:49 +0000
commit52df93249f27ae803bada0451d7380bc3d596007 (patch)
treecbaefc826acc68514d2c16e93666ec639f7e1c5b /src/lib.rs
parent5d7bb087707915a78149da7492cccd772db2657e (diff)
downloadnitrokey-rs-52df93249f27ae803bada0451d7380bc3d596007.tar.gz
nitrokey-rs-52df93249f27ae803bada0451d7380bc3d596007.tar.bz2
Add unwrap_ok macro to replace unwrap in unit tests
The unwrap error message is not very useful. This patch adds the unwrap_ok macro that is basically the same as unwrap but prints a more readable error message.
Diffstat (limited to 'src/lib.rs')
0 files changed, 0 insertions, 0 deletions