Skip to content

Commit

Permalink
fix: Removing deprecated anonymous parameters.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanavella committed Oct 21, 2023
1 parent 8607540 commit 11ba6b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/array_serializer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use object_builder;
use array_builder;

pub trait ArraySerializer {
fn build(&self, &mut array_builder::ArrayBuilder);
fn build(&self, _: &mut array_builder::ArrayBuilder);

#[inline]
fn root(&self) -> Option<&str> {
Expand Down Expand Up @@ -41,4 +41,4 @@ pub trait ArraySerializer {
None => bldr.unwrap(),
}
}
}
}
6 changes: 3 additions & 3 deletions src/serializer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ use object_builder;
/// ```
pub trait Serializer {

fn build(&self, &mut object_builder::ObjectBuilder);
fn build(&self, _: &mut object_builder::ObjectBuilder);

#[inline]
fn root(&self) -> Option<&str> {
Expand Down Expand Up @@ -82,7 +82,7 @@ pub trait Serializer {
/// ```
pub trait ObjectSerializer<T> {

fn build(&self, &T, &mut object_builder::ObjectBuilder);
fn build(&self, _: &T, _: &mut object_builder::ObjectBuilder);

#[inline]
fn root(&self) -> Option<&str> {
Expand Down Expand Up @@ -151,7 +151,7 @@ pub trait ObjectSerializer<T> {
/// ```
pub trait ObjectScopeSerializer<T, S> {

fn build(&self, &T, &S, &mut object_builder::ObjectBuilder);
fn build(&self, _: &T, _: &S, _: &mut object_builder::ObjectBuilder);

#[inline]
fn root(&self) -> Option<&str> {
Expand Down

0 comments on commit 11ba6b3

Please sign in to comment.