aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
-rw-r--r--src/structs/ser.rs4
-rw-r--r--src/zip/file.rs2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 236c58d..c9cd1ad 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,8 +1,8 @@
1mod archive; 1mod archive;
2mod error; 2mod error;
3mod structs;
4 3
5pub mod driver; 4pub mod driver;
5pub mod structs;
6pub mod zip; 6pub mod zip;
7 7
8pub use archive::Archive; 8pub use archive::Archive;
diff --git a/src/structs/ser.rs b/src/structs/ser.rs
index 6833fb8..5c26182 100644
--- a/src/structs/ser.rs
+++ b/src/structs/ser.rs
@@ -87,7 +87,7 @@ impl ser::Serializer for &mut ArchiveSerializer {
87 Ok(()) 87 Ok(())
88 } 88 }
89 89
90 fn serialize_char(self, v: char) -> StructResult<()> { 90 fn serialize_char(self, _v: char) -> StructResult<()> {
91 Err(StructError::SerializationNotSupported { type_name: "char" }.into()) 91 Err(StructError::SerializationNotSupported { type_name: "char" }.into())
92 } 92 }
93 93
@@ -106,7 +106,7 @@ impl ser::Serializer for &mut ArchiveSerializer {
106 .into()) 106 .into())
107 } 107 }
108 108
109 fn serialize_some<T>(self, value: &T) -> StructResult<()> 109 fn serialize_some<T>(self, _value: &T) -> StructResult<()>
110 where 110 where
111 T: ?Sized + Serialize, 111 T: ?Sized + Serialize,
112 { 112 {
diff --git a/src/zip/file.rs b/src/zip/file.rs
index 3b63c2a..d5b3327 100644
--- a/src/zip/file.rs
+++ b/src/zip/file.rs
@@ -13,7 +13,7 @@ pub struct ZipFile {
13impl ArchiveFile for ZipFile {} 13impl ArchiveFile for ZipFile {}
14 14
15impl ZipFile { 15impl ZipFile {
16 pub fn new( 16 pub(crate) fn new(
17 name: String, 17 name: String,
18 dos_date: u16, 18 dos_date: u16,
19 dos_time: u16, 19 dos_time: u16,