aboutsummaryrefslogtreecommitdiff
path: root/src/deserializer/buffered.rs
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-05-14 16:01:39 +0200
committerHampusM <hampus@hampusmat.com>2023-05-14 16:01:39 +0200
commit0f44f2f36c3fa594e8bf9c0b23b7b8041cc6d13e (patch)
treeed26ee090efa8bc9603bf4e4d2f3538a4aedb3f0 /src/deserializer/buffered.rs
parent1a405580b30f0b877ca48cd95ca51da9e5723667 (diff)
feat: make the TagStart name function return a string
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);