diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-01-27 13:42:12 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-01-27 13:42:12 +0000 |
commit | 3cab3525e9c0bd743aa419d286de38d346776fbd (patch) | |
tree | f723baee45abb55068f6a75c45e1303748404493 /src/error.rs | |
parent | e311ee31b819092a119fa24930ab5777d3c4fd71 (diff) | |
download | nitrokey-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/error.rs')
0 files changed, 0 insertions, 0 deletions