diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-09-29 10:17:57 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@sequoia-pgp.org> | 2021-09-30 08:31:18 +0300 |
commit | e060f7f5f186581848cdda5f50d7ddb7ea7d5948 (patch) | |
tree | 4c0de166371e02a9b9d7fc5c23c3b99823e1dcd5 /openpgp | |
parent | c52c0b44f28c7a235002c77e8c27c32e8251e1e3 (diff) |
Tell clippy loops that never loop are OK
We have two loops where the last statement is a return or a break,
without there being a continue. This means the loops will never loop.
This is a symptom of the code being hard to understand. We should
probably rewrite the logic without a loop, but I did not feel
confident doing that yet.
Found by clippy lint never_loop:
https://rust-lang.github.io/rust-clippy/master/index.html#never_loop
Diffstat (limited to 'openpgp')
0 files changed, 0 insertions, 0 deletions