Skip to content

Commit

Permalink
elid lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
adriangb committed Feb 12, 2025
1 parent e515886 commit 19ed4ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion arrow-json/src/writer/encoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub trait EncoderFactory: std::fmt::Debug {
/// This can be used to override how e.g. binary data is encoded so that it is an encoded string or an array of integers.
fn make_default_encoder<'a>(
&self,
_field: &'a FieldRef,
_field: &FieldRef,
_array: &'a dyn Array,
_options: &EncoderOptions,
) -> Result<Option<Box<dyn Encoder + 'a>>, ArrowError> {
Expand Down
4 changes: 2 additions & 2 deletions arrow-json/src/writer/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ mod tests {
impl EncoderFactory for UnionEncoderFactory {
fn make_default_encoder<'a>(
&self,
_field: &'a FieldRef,
_field: &FieldRef,
array: &dyn Array,
_options: &EncoderOptions,
) -> Result<Option<Box<dyn Encoder>>, ArrowError> {
Expand Down Expand Up @@ -2320,7 +2320,7 @@ mod tests {
impl EncoderFactory for IntArayBinaryEncoderFactory {
fn make_default_encoder<'a>(
&self,
_field: &'a FieldRef,
_field: &FieldRef,
array: &'a dyn Array,
_options: &EncoderOptions,
) -> Result<Option<Box<dyn Encoder + 'a>>, ArrowError> {
Expand Down

0 comments on commit 19ed4ab

Please sign in to comment.