Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove deprecated anonymous parameters #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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