diff options
Diffstat (limited to 'src/garage/repair.rs')
-rw-r--r-- | src/garage/repair.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/garage/repair.rs b/src/garage/repair.rs index cdcfc90f..1ae26181 100644 --- a/src/garage/repair.rs +++ b/src/garage/repair.rs @@ -81,7 +81,7 @@ impl Repair { info!("repair_versions: {}", i); } - let version = rmp_serde::decode::from_read_ref::<_, Version>(&item_bytes)?; + let version = rmp_serde::decode::from_slice::<Version>(&item_bytes)?; if version.deleted.get() { continue; } @@ -133,7 +133,7 @@ impl Repair { info!("repair_block_ref: {}", i); } - let block_ref = rmp_serde::decode::from_read_ref::<_, BlockRef>(&item_bytes)?; + let block_ref = rmp_serde::decode::from_slice::<BlockRef>(&item_bytes)?; if block_ref.deleted.get() { continue; } |