aboutsummaryrefslogtreecommitdiff
path: root/src/structs/ser.rs
diff options
context:
space:
mode:
authorIgor Tolmachev <me@igorek.dev>2024-06-21 13:39:27 +0900
committerIgor Tolmachev <me@igorek.dev>2024-06-23 15:34:35 +0900
commit62aaae347d87c5c9411f1e9f8db525b7c2c603d2 (patch)
treee4e8ac46f13465d99b59a7766291959eeb23248c /src/structs/ser.rs
parentafb8ab448949eb19e09e1bdb4b263dc487a9be21 (diff)
downloadarchivator-62aaae347d87c5c9411f1e9f8db525b7c2c603d2.tar.gz
archivator-62aaae347d87c5c9411f1e9f8db525b7c2c603d2.zip
Save changes 2024-06-21
Diffstat (limited to 'src/structs/ser.rs')
-rw-r--r--src/structs/ser.rs4
1 files changed, 2 insertions, 2 deletions
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 {