diff options
author | Nora Widdecke <nora@sequoia-pgp.org> | 2021-12-03 12:08:44 +0100 |
---|---|---|
committer | Nora Widdecke <nora@sequoia-pgp.org> | 2021-12-03 12:12:21 +0100 |
commit | 98491a207c6401b158103ae95e9abb85157025cd (patch) | |
tree | 2f262cf8fbd8c02100584dd292a669c1007ef39f /openpgp | |
parent | 7f69577a997da018e92e1fbb0d4093b97937f2bf (diff) |
openpgp: Use unused-must-use.
Diffstat (limited to 'openpgp')
-rw-r--r-- | openpgp/src/packet/tag.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openpgp/src/packet/tag.rs b/openpgp/src/packet/tag.rs index b939b207..08021cc3 100644 --- a/openpgp/src/packet/tag.rs +++ b/openpgp/src/packet/tag.rs @@ -291,8 +291,8 @@ mod tests { #[test] fn parse() { - for i in 0..0x100usize { - Tag::from(i as u8); + for i in 0..u8::MAX { + let _ = Tag::from(i); } } } |