From 278f7762f269e97d5bcbb6e65629b85bcbdc9079 Mon Sep 17 00:00:00 2001 From: Maxim Molchanov Date: Sun, 25 Feb 2018 16:28:17 +0300 Subject: [PATCH] Update db.rs --- src/db.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/db.rs b/src/db.rs index c292283..54d8056 100644 --- a/src/db.rs +++ b/src/db.rs @@ -182,6 +182,9 @@ pub struct DBIterator { just_seeked: bool, } +unsafe impl Send for DBIterator {} +unsafe impl Sync for DBIterator {} + pub enum Direction { Forward, Reverse,