aboutsummaryrefslogtreecommitdiff
path: root/src/table/data.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/table/data.rs')
-rw-r--r--src/table/data.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/data.rs b/src/table/data.rs
index fe8c5dbc..64ca9f14 100644
--- a/src/table/data.rs
+++ b/src/table/data.rs
@@ -300,7 +300,7 @@ where
}
pub fn decode_entry(&self, bytes: &[u8]) -> Result<F::E, Error> {
- match rmp_serde::decode::from_slice::<F::E>(bytes) {
+ match rmp_serde::decode::from_read_ref::<_, F::E>(bytes) {
Ok(x) => Ok(x),
Err(e) => match F::try_migrate(bytes) {
Some(x) => Ok(x),