diff options
author | Alex Auvolat <alex@adnab.me> | 2022-06-03 10:44:54 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-06-03 10:44:54 +0200 |
commit | f25309e58f839d1fad6b094cd33d7f36b5c3e2e0 (patch) | |
tree | 83046dd98bb625db085bf5e457951974c1a6e5d7 /src/block | |
parent | 7b7990635029776e8878f3b04ed7ca48192899a3 (diff) | |
download | garage-f25309e58f839d1fad6b094cd33d7f36b5c3e2e0.tar.gz garage-f25309e58f839d1fad6b094cd33d7f36b5c3e2e0.zip |
Change value type to be a dyn thing
Diffstat (limited to 'src/block')
-rw-r--r-- | src/block/manager.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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()))) } } } |