Kriskras99 commented on code in PR #230:
URL: https://github.com/apache/avro-rs/pull/230#discussion_r2219070700
##########
avro/src/codec.rs:
##########
@@ -91,7 +91,7 @@ impl Codec {
let mut encoded: Vec<u8> = vec![0;
snap::raw::max_compress_len(stream.len())];
let compressed_size = snap::raw::Encoder::new()
.compress(&stream[..], &mut encoded[..])
- .map_err(Error::SnappyCompress)?;
+ .map_err(Details::SnappyCompress)?;
Review Comment:
The try operator (question mark: ?) automatically calls into
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]