diff options
author | Alex Auvolat <alex@adnab.me> | 2023-06-13 17:22:33 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2023-06-13 17:29:52 +0200 |
commit | 3549f9287bd20f97e7107f587887cec167df7e77 (patch) | |
tree | f850f4f9bc78e8e8bb3ed519aa1ea523965cad2a /src/util.rs | |
parent | 34aade6ce9ccc9789d045fa11bd6bb8af421849e (diff) | |
download | netapp-0.5.3.tar.gz netapp-0.5.3.zip |
update rmp-serde to v1.1v0.5.3
Diffstat (limited to 'src/util.rs')
-rw-r--r-- | src/util.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/util.rs b/src/util.rs index edf8c49..56230b7 100644 --- a/src/util.rs +++ b/src/util.rs @@ -17,9 +17,7 @@ where T: Serialize + ?Sized, { let mut wr = Vec::with_capacity(128); - let mut se = rmp_serde::Serializer::new(&mut wr) - .with_struct_map() - .with_string_variants(); + let mut se = rmp_serde::Serializer::new(&mut wr).with_struct_map(); val.serialize(&mut se)?; Ok(wr) } |