Blob Blame History Raw
From 58c6ccbda090f72be62b31e840e1808c9b49265f Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Date: Sun, 12 May 2019 08:15:07 +0200
Subject: [PATCH] chore: Update serde_bytes to 0.11

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
---
 src/deserializer.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/deserializer.rs b/src/deserializer.rs
index 9d1d980..6ab72ae 100644
--- a/src/deserializer.rs
+++ b/src/deserializer.rs
@@ -1014,8 +1014,8 @@ mod tests {
 
     #[test]
     fn bytes() {
-        let got: Vec<u8> = de::<ByteBuf>(&["foobar"]).unwrap().into();
-        assert_eq!(got, b"foobar".to_vec());
+        let got = de::<ByteBuf>(&["foobar"]).unwrap();
+        assert_eq!(got, b"foobar");
     }
 
     #[test]
-- 
2.21.0