Skip to content

Commit 60db207

Browse files
Merge pull request rpgp#281 from hko-s/clippy-ignore
ignore clippy false positive
2 parents 5a1e8c7 + 05c94b4 commit 60db207

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/armor/reader.rs

+2
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,8 @@ impl<R: Read + Seek> Dearmor<R> {
387387
self.base_decoder = Some(Base64Decoder::new(Base64Reader::new(LineReader::new(b))));
388388
}
389389

390+
// "allow" as workaround for https://github.com/rust-lang/rust-clippy/issues/12208
391+
#[allow(clippy::unused_io_amount)]
390392
let size = if let Some(ref mut base_decoder) = self.base_decoder {
391393
base_decoder.read(into)?
392394
} else {

0 commit comments

Comments
 (0)