diff --git a/src/db.rs b/src/db.rs index 905dff3..5c1fdb6 100644 --- a/src/db.rs +++ b/src/db.rs @@ -1768,9 +1768,10 @@ impl ReadOptions { } } + /// set_iterate_upper_bound sets the upper bound for an iterator, and the upper bound itself + /// is not included on the iteration result. pub fn set_iterate_upper_bound>(&mut self, key: K) { let key = key.as_ref(); - unsafe { ffi::rocksdb_readoptions_set_iterate_upper_bound( self.inner,