Skip to content

Commit 3041bc5

Browse files
committed
more fixes after renaming package
1 parent 75cbac8 commit 3041bc5

17 files changed

+97
-97
lines changed

src/backup.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -120,10 +120,10 @@ impl BackupEngine {
120120
/// # Examples
121121
///
122122
/// ```ignore
123-
/// use rocksdb::backup::{BackupEngine, BackupEngineOptions};
123+
/// use rust_rocksdb::backup::{BackupEngine, BackupEngineOptions};
124124
/// let backup_opts = BackupEngineOptions::default();
125125
/// let mut backup_engine = BackupEngine::open(&backup_opts, &backup_path).unwrap();
126-
/// let mut restore_option = rocksdb::backup::RestoreOptions::default();
126+
/// let mut restore_option = rust_rocksdb::backup::RestoreOptions::default();
127127
/// restore_option.set_keep_log_files(true); /// true to keep log files
128128
/// if let Err(e) = backup_engine.restore_from_latest_backup(&db_path, &wal_dir, &restore_option) {
129129
/// error!("Failed to restore from the backup. Error:{:?}", e);

src/db_iterator.rs

+6-6
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ pub type DBRawIterator<'a> = DBRawIteratorWithThreadMode<'a, DB>;
3131
/// widely recognised Rust idioms.
3232
///
3333
/// ```
34-
/// use rocksdb::{DB, Options};
34+
/// use rust_rocksdb::{DB, Options};
3535
///
3636
/// let path = "_path_for_rocksdb_storage4";
3737
/// {
@@ -141,7 +141,7 @@ impl<'a, D: DBAccess> DBRawIteratorWithThreadMode<'a, D> {
141141
/// # Examples
142142
///
143143
/// ```rust
144-
/// use rocksdb::{DB, Options};
144+
/// use rust_rocksdb::{DB, Options};
145145
///
146146
/// let path = "_path_for_rocksdb_storage5";
147147
/// {
@@ -178,7 +178,7 @@ impl<'a, D: DBAccess> DBRawIteratorWithThreadMode<'a, D> {
178178
/// # Examples
179179
///
180180
/// ```rust
181-
/// use rocksdb::{DB, Options};
181+
/// use rust_rocksdb::{DB, Options};
182182
///
183183
/// let path = "_path_for_rocksdb_storage6";
184184
/// {
@@ -218,7 +218,7 @@ impl<'a, D: DBAccess> DBRawIteratorWithThreadMode<'a, D> {
218218
/// # Examples
219219
///
220220
/// ```rust
221-
/// use rocksdb::{DB, Options};
221+
/// use rust_rocksdb::{DB, Options};
222222
///
223223
/// let path = "_path_for_rocksdb_storage7";
224224
/// {
@@ -257,7 +257,7 @@ impl<'a, D: DBAccess> DBRawIteratorWithThreadMode<'a, D> {
257257
/// # Examples
258258
///
259259
/// ```rust
260-
/// use rocksdb::{DB, Options};
260+
/// use rust_rocksdb::{DB, Options};
261261
///
262262
/// let path = "_path_for_rocksdb_storage8";
263263
/// {
@@ -375,7 +375,7 @@ pub type DBIterator<'a> = DBIteratorWithThreadMode<'a, DB>;
375375
/// ranges and direction.
376376
///
377377
/// ```
378-
/// use rocksdb::{DB, Direction, IteratorMode, Options};
378+
/// use rust_rocksdb::{DB, Direction, IteratorMode, Options};
379379
///
380380
/// let path = "_path_for_rocksdb_storage2";
381381
/// {

0 commit comments

Comments
 (0)