We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44e854a commit d33d600Copy full SHA for d33d600
avro/src/encode.rs
@@ -324,18 +324,18 @@ pub(crate) fn encode_internal<W: Write, S: Borrow<Schema>>(
324
}
325
326
327
- return Err(Details::EncodeValueAsSchemaError {
+ Err(Details::EncodeValueAsSchemaError {
328
value_kind: ValueKind::Record,
329
supported_schema: vec![SchemaKind::Record, SchemaKind::Union],
330
331
- .into());
+ .into())
332
} else {
333
error!("invalid schema type for Record: {schema:?}");
334
335
336
337
338
339
340
341
0 commit comments