Skip to content

Commit 740ff2b

Browse files
committed
fix clippy
1 parent 15dafd4 commit 740ff2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sync/engine/src/sparse_io.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ pub struct SparseLinuxFile {
5454
file: RwLock<std::fs::File>,
5555
}
5656

57+
#[allow(clippy::readonly_write_lock)]
5758
impl File for SparseLinuxFile {
5859
#[instrument(err, skip_all, level = Level::TRACE)]
5960
fn lock_file(&self, _exclusive: bool) -> Result<()> {

0 commit comments

Comments
 (0)