aboutsummaryrefslogtreecommitdiffstats
path: root/src/de.rs
diff options
context:
space:
mode:
authorEdward Barnard2015-12-25 20:45:06 +0000
committerEdward Barnard2015-12-26 19:36:19 +0000
commit0ec05856dab205db2a874dc45340f8b522bd7634 (patch)
tree708e1a76b5148ffc7813286432ff642ddd8fc3b0 /src/de.rs
parent261510a0c61da1afbbb4c5876023e2210fc60901 (diff)
downloadrust-plist-0ec05856dab205db2a874dc45340f8b522bd7634.tar.bz2
Kill StartPlist and EndPlist
Diffstat (limited to 'src/de.rs')
-rw-r--r--src/de.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/de.rs b/src/de.rs
index 7707f33..814933b 100644
--- a/src/de.rs
+++ b/src/de.rs
@@ -89,9 +89,6 @@ impl<I, E> SerdeDeserializer for Deserializer<I, E>
where V: Visitor
{
match try_next!(self.events.next()) {
- PlistEvent::StartPlist => panic!(),
- PlistEvent::EndPlist => panic!(),
-
PlistEvent::StartArray(len) => {
let len = try!(u64_option_to_usize(len));
visitor.visit_seq(MapSeq::new(self, len))