Skip to content

Commit b91844b

Browse files
committed
fix clippy for unpartitioned writer
1 parent 9ea5b30 commit b91844b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/iceberg/src/writer/partitioning/unpartitioned_writer.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ where
8787
.await
8888
}
8989

90-
async fn close(mut self) -> crate::Result<O> {
90+
async fn close(mut self) -> Result<O> {
9191
if let Some(mut writer) = self.writer.take() {
9292
self.output.extend(writer.close().await?);
9393
}
@@ -125,7 +125,7 @@ mod tests {
125125
fn create_test_writer_builder(
126126
temp_dir: &TempDir,
127127
schema: Arc<crate::spec::Schema>,
128-
) -> Result<impl IcebergWriterBuilder + Clone> {
128+
) -> Result<impl IcebergWriterBuilder> {
129129
let file_io = FileIOBuilder::new_fs_io().build()?;
130130
let location_gen = DefaultLocationGenerator::with_data_location(
131131
temp_dir.path().to_str().unwrap().to_string(),

0 commit comments

Comments
 (0)