Fixed a warning

This commit is contained in:
arkpar 2016-02-22 13:47:25 +01:00
parent 61949d0ed4
commit 077c5662a8

View File

@ -55,7 +55,7 @@ pub struct DatabaseIterator<'a> {
impl<'a> Iterator for DatabaseIterator<'a> {
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]>)> {
self.iter.next()
}