From 8f7124b488459a3d8343913bd2ca072004efd9e5 Mon Sep 17 00:00:00 2001 From: wqfish Date: Fri, 24 Apr 2020 04:33:32 -0700 Subject: [PATCH] Update doc for Options::set_compression_type (#416) --- src/db_options.rs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/db_options.rs b/src/db_options.rs index cd25dbd..6d5a574 100644 --- a/src/db_options.rs +++ b/src/db_options.rs @@ -511,11 +511,10 @@ impl Options { } } - /// Sets the compression algorithm that will be used for the bottommost level that - /// contain files. If level-compaction is used, this option will only affect - /// levels after base level. + /// Sets the compression algorithm that will be used for compressing blocks. /// - /// Default: DBCompressionType::None + /// Default: `DBCompressionType::Snappy` (`DBCompressionType::None` if + /// snappy feature is not enabled). /// /// # Example ///