diff --git a/util/src/bytes.rs b/util/src/bytes.rs index c8dd9e38e..cb54f8f0e 100644 --- a/util/src/bytes.rs +++ b/util/src/bytes.rs @@ -314,7 +314,6 @@ impl FromRawBytesVariable for String { impl FromRawBytesVariable for Vec where T: FromRawBytes { fn from_bytes_var(d: &[u8], len: u64) -> Result { let size_of_t = ::std::mem::size_of::(); - assert_eq!(len, 8); let length_in_chunks = len as usize / size_of_t; let mut result = Vec::with_capacity(length_in_chunks as usize);