mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-10 02:34:20 +01:00
Fix borrow method on WindowsIO
This commit is contained in:
@@ -103,7 +103,7 @@ impl File for WindowsFile {
|
||||
file.seek(std::io::SeekFrom::Start(pos as u64))?;
|
||||
let buf = buffer.as_slice();
|
||||
file.write_all(buf)?;
|
||||
c.complete(buffer.borrow().len() as i32);
|
||||
c.complete(buffer.len() as i32);
|
||||
Ok(c)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user