From 0751a22dc6c97431a5cdaa485fc0b74f4a731092 Mon Sep 17 00:00:00 2001 From: debris Date: Fri, 14 Apr 2017 11:17:02 +0200 Subject: [PATCH] Fixed race condition in tests --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 19a5c0f..214dace 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -114,7 +114,7 @@ pub struct BlockBasedOptions { /// use rocksdb::DBCompactionStyle; /// /// fn badly_tuned_for_somebody_elses_disk() -> DB { -/// let path = "path/for/rocksdb/storage5"; +/// let path = "path/for/rocksdb/storageX"; /// let mut opts = Options::default(); /// opts.create_if_missing(true); /// opts.set_max_open_files(10000); @@ -150,7 +150,7 @@ pub struct Options { /// ``` /// use rocksdb::{DB, WriteBatch, WriteOptions}; /// -/// let db = DB::open_default("path/for/rocksdb/storage6").unwrap(); +/// let db = DB::open_default("path/for/rocksdb/storageY").unwrap(); /// /// let mut batch = WriteBatch::default(); /// batch.put(b"my key", b"my value");