summary refs log tree commit diff stats
path: root/src/vm
diff options
context:
space:
mode:
Diffstat (limited to 'src/vm')
-rw-r--r--src/vm/de.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/de.rs b/src/vm/de.rs
index c906226..1f00995 100644
--- a/src/vm/de.rs
+++ b/src/vm/de.rs
@@ -414,7 +414,7 @@ where
         E: serde::de::Error,
     {
         // TODO try to avoid cloning
-        self.visit_byte_buf(&*v)
+        self.visit_bytes(&*v)
     }
     fn visit_none<E>(self) -> Result<Self::Value, E>
     where