Compiles.

This commit is contained in:
Gav Wood
2016-11-23 20:35:21 +01:00
parent 90b5d1c62d
commit 03ef95ba50
12 changed files with 87 additions and 34 deletions

View File

@@ -270,8 +270,7 @@ impl DatabaseService for Database {
Ok(next_iterator)
}
fn iter_next(&self, handle: IteratorHandle) -> Option<KeyValue>
{
fn iter_next(&self, handle: IteratorHandle) -> Option<KeyValue> {
let mut iterators = self.iterators.write();
let mut iterator = match iterators.get_mut(&handle) {
Some(some_iterator) => some_iterator,