Fix doc for DBRawIterator::prev and next methods (#405)

master
wqfish 4 years ago committed by GitHub
parent a8b77cfd8a
commit 4ee65f451b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      src/db_iterator.rs

@ -275,8 +275,6 @@ impl<'a> DBRawIterator<'a> {
}
/// Seeks to the next key.
///
/// Returns true if the iterator is valid after this operation.
pub fn next(&mut self) {
unsafe {
ffi::rocksdb_iter_next(self.inner);
@ -284,8 +282,6 @@ impl<'a> DBRawIterator<'a> {
}
/// Seeks to the previous key.
///
/// Returns true if the iterator is valid after this operation.
pub fn prev(&mut self) {
unsafe {
ffi::rocksdb_iter_prev(self.inner);

Loading…
Cancel
Save