We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15dafd4 commit 740ff2bCopy full SHA for 740ff2b
sync/engine/src/sparse_io.rs
@@ -54,6 +54,7 @@ pub struct SparseLinuxFile {
54
file: RwLock<std::fs::File>,
55
}
56
57
+#[allow(clippy::readonly_write_lock)]
58
impl File for SparseLinuxFile {
59
#[instrument(err, skip_all, level = Level::TRACE)]
60
fn lock_file(&self, _exclusive: bool) -> Result<()> {
0 commit comments