diff options
| author | Igor Tolmachev <me@igorek.dev> | 2024-06-29 22:53:47 +0900 |
|---|---|---|
| committer | Igor Tolmachev <me@igorek.dev> | 2024-06-30 21:53:11 +0900 |
| commit | 6d5f8f046b3b24e50cb1a0e7751c6bc9170ed9d1 (patch) | |
| tree | 2ab77965a7c54b64e024a0fc3405b065ad54ea96 /src/zip/file_driver.rs | |
| parent | 51694e1f0b2730915e0a57ec6d8de503cf06ef9a (diff) | |
| download | archivator-6d5f8f046b3b24e50cb1a0e7751c6bc9170ed9d1.tar.gz archivator-6d5f8f046b3b24e50cb1a0e7751c6bc9170ed9d1.zip | |
Add `Clone` derive and edit trait types
Diffstat (limited to 'src/zip/file_driver.rs')
| -rw-r--r-- | src/zip/file_driver.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/zip/file_driver.rs b/src/zip/file_driver.rs index 47b4242..51075e4 100644 --- a/src/zip/file_driver.rs +++ b/src/zip/file_driver.rs | |||
| @@ -1,8 +1,7 @@ | |||
| 1 | use crate::driver::FileDriver; | 1 | use crate::driver::FileDriver; |
| 2 | use crate::zip::{ZipError, ZipFileInfo, ZipResult}; | 2 | use crate::zip::{ZipError, ZipFileInfo, ZipResult}; |
| 3 | use std::io::{ | 3 | use std::io::{ |
| 4 | Error as IoError, ErrorKind as IoErrorKind, Read, Result as IoResult, Seek, SeekFrom, Take, | 4 | Error as IoError, ErrorKind as IoErrorKind, Read, Result as IoResult, Seek, SeekFrom, Write, |
| 5 | Write, | ||
| 6 | }; | 5 | }; |
| 7 | 6 | ||
| 8 | pub struct ZipFile<'d, Io> { | 7 | pub struct ZipFile<'d, Io> { |
