From f25309e58f839d1fad6b094cd33d7f36b5c3e2e0 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Fri, 3 Jun 2022 10:44:54 +0200 Subject: Change value type to be a dyn thing --- src/garage/repair.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/garage/repair.rs') 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()))) } } } -- cgit v1.2.3