Fixed a warning
This commit is contained in:
parent
61949d0ed4
commit
077c5662a8
@ -55,7 +55,7 @@ pub struct DatabaseIterator<'a> {
|
|||||||
impl<'a> Iterator for DatabaseIterator<'a> {
|
impl<'a> Iterator for DatabaseIterator<'a> {
|
||||||
type Item = (Box<[u8]>, Box<[u8]>);
|
type Item = (Box<[u8]>, Box<[u8]>);
|
||||||
|
|
||||||
#[allow(type_complexity)]
|
#[cfg_attr(feature="dev", allow(type_complexity))]
|
||||||
fn next(&mut self) -> Option<(Box<[u8]>, Box<[u8]>)> {
|
fn next(&mut self) -> Option<(Box<[u8]>, Box<[u8]>)> {
|
||||||
self.iter.next()
|
self.iter.next()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user