diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-08-30 18:52:15 +0200 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2020-08-30 18:52:15 +0200 |
commit | b2607cbd3f239be9d09204921db278424cc7a6be (patch) | |
tree | b5e41756cbae69f91cfb91db5b42eeecab35d302 /src/tests/mod.rs | |
parent | e9a89be939acf22cf17e3d6bc505a968a98d3dee (diff) | |
download | nitrokey-rs-b2607cbd3f239be9d09204921db278424cc7a6be.tar.gz nitrokey-rs-b2607cbd3f239be9d09204921db278424cc7a6be.tar.bz2 |
Use map_err(|_| x) instead of or_else(|_| Err(x))
Diffstat (limited to 'src/tests/mod.rs')
0 files changed, 0 insertions, 0 deletions