Commit 0a53d41e authored by Tyler Neely's avatar Tyler Neely

readme cleanup

parent e98a85f4
......@@ -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<u8> {
let mut result: Vec<u8> = Vec::with_capacity(operands.size_hint().val0());
match existing_val {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment