aboutsummaryrefslogtreecommitdiff
path: root/src/model/s3/version_table.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/s3/version_table.rs')
-rw-r--r--src/model/s3/version_table.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/s3/version_table.rs b/src/model/s3/version_table.rs
index ad096772..f67f2ff1 100644
--- a/src/model/s3/version_table.rs
+++ b/src/model/s3/version_table.rs
@@ -168,7 +168,7 @@ impl TableSchema for VersionTable {
}
fn try_migrate(bytes: &[u8]) -> Option<Self::E> {
- let old = rmp_serde::decode::from_read_ref::<_, old::Version>(bytes).ok()?;
+ let old = rmp_serde::decode::from_slice::<old::Version>(bytes).ok()?;
let blocks = old
.blocks