Skip to content

Commit 8f7124b

Browse files
author
wqfish
authored
Update doc for Options::set_compression_type (rust-rocksdb#416)
1 parent df05c31 commit 8f7124b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/db_options.rs

+3-4
Original file line numberDiff line numberDiff line change
@@ -511,11 +511,10 @@ impl Options {
511511
}
512512
}
513513

514-
/// Sets the compression algorithm that will be used for the bottommost level that
515-
/// contain files. If level-compaction is used, this option will only affect
516-
/// levels after base level.
514+
/// Sets the compression algorithm that will be used for compressing blocks.
517515
///
518-
/// Default: DBCompressionType::None
516+
/// Default: `DBCompressionType::Snappy` (`DBCompressionType::None` if
517+
/// snappy feature is not enabled).
519518
///
520519
/// # Example
521520
///

0 commit comments

Comments
 (0)