aboutsummaryrefslogtreecommitdiff
path: root/src/device.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-01-27 13:42:12 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-01-27 13:42:12 +0000
commit3cab3525e9c0bd743aa419d286de38d346776fbd (patch)
treef723baee45abb55068f6a75c45e1303748404493 /src/device.rs
parente311ee31b819092a119fa24930ab5777d3c4fd71 (diff)
downloadnitrokey-rs-3cab3525e9c0bd743aa419d286de38d346776fbd.tar.gz
nitrokey-rs-3cab3525e9c0bd743aa419d286de38d346776fbd.tar.bz2
Replace or with or_else in get_cstring
To avoid unnecessary function calls, we replace the or with an or_else in get_cstring.
Diffstat (limited to 'src/device.rs')
0 files changed, 0 insertions, 0 deletions