diff --git a/src/db_options.rs b/src/db_options.rs index 25aedc4..b5339c2 100644 --- a/src/db_options.rs +++ b/src/db_options.rs @@ -286,6 +286,15 @@ impl Options { /// So users of this feature may see increased memory usage. /// /// Default: `0` + /// + /// # Example + /// + /// ``` + /// use rocksdb::Options; + /// + /// let mut opts = Options::default(); + /// opts.set_compression_options(4, 5, 6, 7); + /// ``` pub fn set_compression_options( &mut self, w_bits: c_int,