aboutsummaryrefslogtreecommitdiff
path: root/src/deserializer/buffered.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/deserializer/buffered.rs')
-rw-r--r--src/deserializer/buffered.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/deserializer/buffered.rs b/src/deserializer/buffered.rs
index 6568910..b961dd7 100644
--- a/src/deserializer/buffered.rs
+++ b/src/deserializer/buffered.rs
@@ -117,7 +117,7 @@ impl<TSource: Source> Deserializer for Buffered<TSource>
let deserialized =
De::deserialize(&start, self).map_err(Error::DeserializeFailed)?;
- self.read_end_event(start.name())
+ self.read_end_event(start.name_bytes())
.map_err(Error::into_with_de_error)?;
deserialized_items.push(deserialized);