summaryrefslogtreecommitdiffstats
path: root/openpgp/src/parse/packet_parser_builder.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@sequoia-pgp.org>2021-09-29 15:05:32 +0300
committerLars Wirzenius <liw@sequoia-pgp.org>2021-09-30 08:31:19 +0300
commit347e9519954b1a7702d7120d6c265ea3d82b64cc (patch)
tree152f5f3d8fa672996ae8c9752edc8ce6ac2c3d48 /openpgp/src/parse/packet_parser_builder.rs
parent798433cafd6d3b1e4c411f4e022277a6b8450746 (diff)
Annotate functions where clippy::redundant_pattern_matching is OK
See https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pattern_matching
Diffstat (limited to 'openpgp/src/parse/packet_parser_builder.rs')
-rw-r--r--openpgp/src/parse/packet_parser_builder.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/parse/packet_parser_builder.rs b/openpgp/src/parse/packet_parser_builder.rs
index d94a5d2e..24b9a13b 100644
--- a/openpgp/src/parse/packet_parser_builder.rs
+++ b/openpgp/src/parse/packet_parser_builder.rs
@@ -396,6 +396,7 @@ impl<'a> PacketParserBuilder<'a> {
/// ppr = pp.recurse()?.1;
/// }
/// # Ok(()) }
+ #[allow(clippy::redundant_pattern_matching)]
pub fn build(mut self)
-> Result<PacketParserResult<'a>>
where Self: 'a