Skip to content

Commit 9a8547a

Browse files
committed
clippy
1 parent 1665781 commit 9a8547a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store/fs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ impl SyncEntityApi for HashContext {
310310
trace!("write_batch bitfield={:?} batch={}", bitfield, batch.len());
311311
let mut res = Ok(None);
312312
self.state.send_if_modified(|state| {
313-
let Ok((state1, update)) = state.take().write_batch(batch, bitfield, &self) else {
313+
let Ok((state1, update)) = state.take().write_batch(batch, bitfield, self) else {
314314
res = Err(io::Error::other("write batch failed"));
315315
return false;
316316
};

0 commit comments

Comments
 (0)