diff --git a/README.md b/README.md index 5fe3252..dd4736e 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ fn main() { extern crate rocksdb; use rocksdb::{RocksDBOptions, RocksDB, MergeOperands}; -fn concat_merge<'a>(new_key: &[u8], existing_val: Option<&[u8]>, +fn concat_merge(new_key: &[u8], existing_val: Option<&[u8]>, mut operands: &mut MergeOperands) -> Vec { let mut result: Vec = Vec::with_capacity(operands.size_hint().val0()); match existing_val {