From f6fb786cc999ba07ed8da47fcd24c1baf8a8107a Mon Sep 17 00:00:00 2001 From: PThorpe92 Date: Tue, 5 Aug 2025 22:26:19 -0400 Subject: [PATCH] Fix borrow method on WindowsIO --- core/io/windows.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/io/windows.rs b/core/io/windows.rs index 465325101..3a6349684 100644 --- a/core/io/windows.rs +++ b/core/io/windows.rs @@ -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) }