Skip to content

Commit

Permalink
remove lifetime
Browse files Browse the repository at this point in the history
  • Loading branch information
zachschuermann committed Oct 11, 2024
1 parent 377cfdc commit cc18fde
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kernel/src/engine/default/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ impl<E: TaskExecutor> JsonHandler for DefaultJsonHandler<E> {
fn write_json_file(
&self,
path: &url::Url,
data: Box<dyn Iterator<Item = Box<dyn EngineData>> + Send + '_>,
data: Box<dyn Iterator<Item = Box<dyn EngineData>> + Send>,
_overwrite: bool,
) -> DeltaResult<()> {
let mut writer = arrow_json::LineDelimitedWriter::new(Vec::new());
Expand Down
2 changes: 1 addition & 1 deletion kernel/src/engine/sync/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ impl JsonHandler for SyncJsonHandler {
fn write_json_file(
&self,
_path: &Url,
_data: Box<dyn Iterator<Item = Box<dyn EngineData>> + Send + '_>,
_data: Box<dyn Iterator<Item = Box<dyn EngineData>> + Send>,
_overwrite: bool,
) -> DeltaResult<()> {
unimplemented!()
Expand Down
2 changes: 1 addition & 1 deletion kernel/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ pub trait JsonHandler: Send + Sync {
fn write_json_file(
&self,
path: &Url,
data: Box<dyn Iterator<Item = Box<dyn EngineData>> + Send + '_>,
data: Box<dyn Iterator<Item = Box<dyn EngineData>> + Send>,
overwrite: bool,
) -> DeltaResult<()>;
}
Expand Down

0 comments on commit cc18fde

Please sign in to comment.