diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2020-07-08 12:25:31 +0200 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2020-07-08 23:02:43 +0200 |
commit | cf460cbb5e616d12f5e6b1f64acddf3ec0e7b087 (patch) | |
tree | a5cf3855f963d0417d9af8243b820fcaee2c896c /src/device/storage.rs | |
parent | 9f80512a11926c5ec3f869ad5e220b3b350eec9a (diff) | |
download | nitrokey-rs-cf460cbb5e616d12f5e6b1f64acddf3ec0e7b087.tar.gz nitrokey-rs-cf460cbb5e616d12f5e6b1f64acddf3ec0e7b087.tar.bz2 |
Use find(…) instead of skip_while(…).next()
This patch replaces calls to skip_while(…).next() for an iter::Iterator
with a call to find(…), as suggested by clippy.
Diffstat (limited to 'src/device/storage.rs')
0 files changed, 0 insertions, 0 deletions