Unverified Commit 731034d8 authored by qupeng's avatar qupeng Committed by GitHub

remove a lint for old compilers (#415)

Signed-off-by: 's avatarqupeng <qupeng@pingcap.com>
parent 830134e5
...@@ -179,7 +179,6 @@ impl<D: Deref<Target = DB>> DBIterator<D> { ...@@ -179,7 +179,6 @@ impl<D: Deref<Target = DB>> DBIterator<D> {
self.valid() self.valid()
} }
#[allow(clippy::should_implement_trait)]
pub fn next(&mut self) -> Result<bool, String> { pub fn next(&mut self) -> Result<bool, String> {
unsafe { unsafe {
crocksdb_ffi::crocksdb_iter_next(self.inner); crocksdb_ffi::crocksdb_iter_next(self.inner);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment