Commit f9d32974 authored by Tyler Neely's avatar Tyler Neely

small cleanup

parent 346cf34b
...@@ -14,7 +14,7 @@ extern crate rocksdb; ...@@ -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| {
......
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