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/block/manager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/block') diff --git a/src/block/manager.rs b/src/block/manager.rs index f34d13d0..de9b08c2 100644 --- a/src/block/manager.rs +++ b/src/block/manager.rs @@ -645,7 +645,7 @@ impl BlockManager { None => Ok(None), Some(v) => { let (time_bytes, hash_bytes) = v?; - Ok(Some((time_bytes.into_owned(), hash_bytes.into_owned()))) + Ok(Some((time_bytes.into_vec(), hash_bytes.into_vec()))) } } } -- cgit v1.2.3