Fix missing trait imports (#2154)

This commit is contained in:
Harrison Burt
2023-08-27 01:20:26 +01:00
committed by GitHub
parent e6cacc40a9
commit 131c10d318

View File

@@ -71,6 +71,7 @@ impl FileHandle for WrapFile {
#[cfg(not(unix))]
{
use std::io::{Read, Seek};
let mut file = self.file.try_clone()?; // Clone the file to read from it separately
// Seek to the start position in the file
file.seek(io::SeekFrom::Start(start as u64))?;