Skip to content

Commit

Permalink
more fixes after renaming package
Browse files Browse the repository at this point in the history
  • Loading branch information
zaidoon1 committed Feb 10, 2024
1 parent 75cbac8 commit 39bd787
Show file tree
Hide file tree
Showing 17 changed files with 97 additions and 97 deletions.
4 changes: 2 additions & 2 deletions src/backup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@ impl BackupEngine {
/// # Examples
///
/// ```ignore
/// use rocksdb::backup::{BackupEngine, BackupEngineOptions};
/// use rust_rocksdb::backup::{BackupEngine, BackupEngineOptions};
/// let backup_opts = BackupEngineOptions::default();
/// let mut backup_engine = BackupEngine::open(&backup_opts, &backup_path).unwrap();
/// let mut restore_option = rocksdb::backup::RestoreOptions::default();
/// let mut restore_option = rust_rocksdb::backup::RestoreOptions::default();
/// restore_option.set_keep_log_files(true); /// true to keep log files
/// if let Err(e) = backup_engine.restore_from_latest_backup(&db_path, &wal_dir, &restore_option) {
/// error!("Failed to restore from the backup. Error:{:?}", e);
Expand Down
12 changes: 6 additions & 6 deletions src/db_iterator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ pub type DBRawIterator<'a> = DBRawIteratorWithThreadMode<'a, DB>;
/// widely recognised Rust idioms.
///
/// ```
/// use rocksdb::{DB, Options};
/// use rust_rocksdb::{DB, Options};
///
/// let path = "_path_for_rocksdb_storage4";
/// {
Expand Down Expand Up @@ -141,7 +141,7 @@ impl<'a, D: DBAccess> DBRawIteratorWithThreadMode<'a, D> {
/// # Examples
///
/// ```rust
/// use rocksdb::{DB, Options};
/// use rust_rocksdb::{DB, Options};
///
/// let path = "_path_for_rocksdb_storage5";
/// {
Expand Down Expand Up @@ -178,7 +178,7 @@ impl<'a, D: DBAccess> DBRawIteratorWithThreadMode<'a, D> {
/// # Examples
///
/// ```rust
/// use rocksdb::{DB, Options};
/// use rust_rocksdb::{DB, Options};
///
/// let path = "_path_for_rocksdb_storage6";
/// {
Expand Down Expand Up @@ -218,7 +218,7 @@ impl<'a, D: DBAccess> DBRawIteratorWithThreadMode<'a, D> {
/// # Examples
///
/// ```rust
/// use rocksdb::{DB, Options};
/// use rust_rocksdb::{DB, Options};
///
/// let path = "_path_for_rocksdb_storage7";
/// {
Expand Down Expand Up @@ -257,7 +257,7 @@ impl<'a, D: DBAccess> DBRawIteratorWithThreadMode<'a, D> {
/// # Examples
///
/// ```rust
/// use rocksdb::{DB, Options};
/// use rust_rocksdb::{DB, Options};
///
/// let path = "_path_for_rocksdb_storage8";
/// {
Expand Down Expand Up @@ -375,7 +375,7 @@ pub type DBIterator<'a> = DBIteratorWithThreadMode<'a, DB>;
/// ranges and direction.
///
/// ```
/// use rocksdb::{DB, Direction, IteratorMode, Options};
/// use rust_rocksdb::{DB, Direction, IteratorMode, Options};
///
/// let path = "_path_for_rocksdb_storage2";
/// {
Expand Down
Loading

0 comments on commit 39bd787

Please sign in to comment.