diff --git a/src/armor/reader.rs b/src/armor/reader.rs index dee907e65..7d412326c 100644 --- a/src/armor/reader.rs +++ b/src/armor/reader.rs @@ -387,6 +387,8 @@ impl Dearmor { self.base_decoder = Some(Base64Decoder::new(Base64Reader::new(LineReader::new(b)))); } + // "allow" as workaround for https://github.com/rust-lang/rust-clippy/issues/12208 + #[allow(clippy::unused_io_amount)] let size = if let Some(ref mut base_decoder) = self.base_decoder { base_decoder.read(into)? } else {