Skip to content

Commit

Permalink
lint rust crate
Browse files Browse the repository at this point in the history
  • Loading branch information
mpiannucci committed Oct 7, 2024
1 parent 3ed1187 commit a3cf364
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion icechunk/src/repository.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ async fn flush(
.await?;

let all_nodes =
updated_nodes(storage, &change_set, parent_id, &new_manifest_id).await?;
updated_nodes(storage, change_set, parent_id, &new_manifest_id).await?;

let mut new_snapshot = Snapshot::from_iter(
old_snapshot.as_ref(),
Expand Down
4 changes: 2 additions & 2 deletions icechunk/src/zarr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,8 @@ impl Store {
})
.collect::<Result<Vec<_>, StoreError>>()?;

let result = self.repository.write().await.merge(repositories).await?;
Ok(result)
self.repository.write().await.merge(repositories).await?;
Ok(())
}

/// Commit the current changes to the current branch. If the store is not currently
Expand Down

0 comments on commit a3cf364

Please sign in to comment.