diff options
Diffstat (limited to 'src/table/sync.rs')
-rw-r--r-- | src/table/sync.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/table/sync.rs b/src/table/sync.rs index 87dfd1d8..20066d73 100644 --- a/src/table/sync.rs +++ b/src/table/sync.rs @@ -260,7 +260,7 @@ where for item in self.data.store.range(begin.to_vec()..end.to_vec())? { let (key, value) = item?; - items.push((key.to_vec(), Arc::new(ByteBuf::from(value.as_ref())))); + items.push((key.to_vec(), Arc::new(ByteBuf::from(value)))); if items.len() >= 1024 { break; |