small cleanup

master
Tyler Neely 10 years ago
parent 346cf34bf9
commit f9d32974b5
  1. 2
      README.md

@ -14,7 +14,7 @@ extern crate rocksdb;
use rocksdb::RocksDB; use rocksdb::RocksDB;
fn main() { fn main() {
let db = RocksDB::open_default("/path/for/rocksdb/storage").unwrap; let db = RocksDB::open_default("/path/for/rocksdb/storage").unwrap();
db.put(b"my key", b"my value"); db.put(b"my key", b"my value");
db.get(b"my key") db.get(b"my key")
.map( |value| { .map( |value| {

Loading…
Cancel
Save