Skip to content

Commit

Permalink
fixup: remove commented out code
Browse files Browse the repository at this point in the history
Thanks @matklad!
  • Loading branch information
BurntSushi committed Dec 15, 2018
1 parent c534d08 commit 3518426
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/deserializer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -415,8 +415,6 @@ impl<'a, 'de: 'a, T: DeRecord<'de>> Deserializer<'de>
) -> Result<V::Value, Self::Error> {
self.next_field_bytes()
.and_then(|f| visitor.visit_byte_buf(f.to_vec()))
// self.next_field()
// .and_then(|f| visitor.visit_byte_buf(f.as_bytes().to_vec()))
}

fn deserialize_option<V: Visitor<'de>>(
Expand Down

0 comments on commit 3518426

Please sign in to comment.