Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Ten0 committed Oct 20, 2024
1 parent 79e9e61 commit e7db2c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions serde_avro_fast/src/schema/safe/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,15 +166,15 @@ pub struct SchemaNode {
}

impl SchemaNode {
/// Build a new [`SchemaNode`] from the given regular type, with no logical
/// Build a `SchemaNode` from the given regular type, with no logical
/// type.
///
/// This is equivalent to `type_.into()`.
pub fn new(type_: RegularType) -> Self {
type_.into()
}

/// Build a new [`SchemaNode`] from the given regular type and logical type.
/// Build a `SchemaNode` from the given regular type and logical type.
pub fn with_logical_type(type_: RegularType, logical_type: LogicalType) -> Self {
Self {
type_,
Expand Down
2 changes: 1 addition & 1 deletion serde_avro_fast/src/ser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ pub struct SerializerConfig<'s> {
}

impl<'s> SerializerConfig<'s> {
/// Build a new `SerializerConfig` with a given `schema`, default options
/// Build a `SerializerConfig` with a given `schema`, default options
/// and empty serialization buffers.
///
/// The `schema` will be used when instantiating a serializer from this
Expand Down

0 comments on commit e7db2c0

Please sign in to comment.