fix clippy

This commit is contained in:
Nikita Sivukhin
2025-11-12 16:46:15 +04:00
parent 15dafd46c1
commit 740ff2b4a6

View File

@@ -54,6 +54,7 @@ pub struct SparseLinuxFile {
file: RwLock<std::fs::File>,
}
#[allow(clippy::readonly_write_lock)]
impl File for SparseLinuxFile {
#[instrument(err, skip_all, level = Level::TRACE)]
fn lock_file(&self, _exclusive: bool) -> Result<()> {