Kriskras99 commented on code in PR #199:
URL: https://github.com/apache/avro-rs/pull/199#discussion_r2116017028
##########
avro/tests/to_from_avro_datum_schemata.rs:
##########
@@ -110,6 +110,7 @@ fn test_avro_3683_multiple_schemata_writer_reader() ->
TestResult {
let mut writer = Writer::with_schemata(schema_b, schemata.clone(), &mut
output, Codec::Null);
writer.append(record.clone())?;
writer.flush()?;
+ let _ = writer.into_inner()?;
Review Comment:
See this playground example with `BufWriter`:
https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=c8318f0b348bf8be78536bd33b619b3e
If you look at the compiler error, it explains the issue. I'm not sure where
this would be documented.
--
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]