aboutsummaryrefslogtreecommitdiff
path: root/src/util/data.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/data.rs')
-rw-r--r--src/util/data.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/data.rs b/src/util/data.rs
index 7715c2cc..2ef976a5 100644
--- a/src/util/data.rs
+++ b/src/util/data.rs
@@ -151,7 +151,7 @@ where
let mut wr = Vec::with_capacity(128);
let mut se = rmp_serde::Serializer::new(&mut wr)
.with_struct_map()
- .with_string_variants();
+ .with_binary();
val.serialize(&mut se)?;
Ok(wr)
}