aboutsummaryrefslogtreecommitdiff
path: root/src/garage/repair.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/garage/repair.rs')
-rw-r--r--src/garage/repair.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/garage/repair.rs b/src/garage/repair.rs
index 762a8300..a096aaa0 100644
--- a/src/garage/repair.rs
+++ b/src/garage/repair.rs
@@ -117,7 +117,7 @@ impl Repair {
None => Ok(None),
Some(item) => {
let (item_key, item_bytes) = item?;
- Ok(Some((item_key.into_owned(), item_bytes.into_owned())))
+ Ok(Some((item_key.into_vec(), item_bytes.into_vec())))
}
}
}
@@ -173,7 +173,7 @@ impl Repair {
None => Ok(None),
Some(item) => {
let (item_key, item_bytes) = item?;
- Ok(Some((item_key.into_owned(), item_bytes.into_owned())))
+ Ok(Some((item_key.into_vec(), item_bytes.into_vec())))
}
}
}