aboutsummaryrefslogtreecommitdiff
path: root/src/garage/repair.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-06-03 10:44:54 +0200
committerAlex Auvolat <alex@adnab.me>2022-06-03 10:44:54 +0200
commitf25309e58f839d1fad6b094cd33d7f36b5c3e2e0 (patch)
tree83046dd98bb625db085bf5e457951974c1a6e5d7 /src/garage/repair.rs
parent7b7990635029776e8878f3b04ed7ca48192899a3 (diff)
downloadgarage-f25309e58f839d1fad6b094cd33d7f36b5c3e2e0.tar.gz
garage-f25309e58f839d1fad6b094cd33d7f36b5c3e2e0.zip
Change value type to be a dyn thing
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())))
}
}
}