diff options
Diffstat (limited to 'buffered-reader/src/generic.rs')
-rw-r--r-- | buffered-reader/src/generic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buffered-reader/src/generic.rs b/buffered-reader/src/generic.rs index 117a1301..4a08e549 100644 --- a/buffered-reader/src/generic.rs +++ b/buffered-reader/src/generic.rs @@ -112,7 +112,7 @@ impl<T: io::Read + Send + Sync, C: fmt::Debug + Sync + Send> Generic<T, C> { // If you find a bug in this function, consider whether // sequoia_openpgp::armor::Reader::data_helper is also affected. fn data_helper(&mut self, amount: usize, hard: bool, and_consume: bool) - -> Result<&[u8], io::Error> { + -> io::Result<&[u8]> { tracer!(TRACE, "Generic::data_helper"); t!("amount: {}, hard: {}, and_consume: {} (cursor: {}, buffer: {:?})", amount, hard, and_consume, |