mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-30 05:14:23 +01:00
fix clippy
This commit is contained in:
@@ -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<()> {
|
||||
|
||||
Reference in New Issue
Block a user