aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDirk Van Haerenborgh <vhdirk@gmail.com>2018-04-12 23:58:45 +0200
committerDirk Van Haerenborgh <vhdirk@gmail.com>2018-04-12 23:58:45 +0200
commitc621f5cf919cfc8c94b5eaf0a9df6074a4e7a6cf (patch)
treeb80c5867dfefb6d94f0bfe9d21dcf547f490eca1
parent3e39497cf25cab014100f27f486080e93961db9d (diff)
downloadmail-c621f5cf919cfc8c94b5eaf0a9df6074a4e7a6cf.tar.gz
notmuch is not thread safe. do not let the user think it is
-rw-r--r--src/database.rs2
-rw-r--r--src/directory.rs2
-rw-r--r--src/message.rs2
-rw-r--r--src/thread.rs2
4 files changed, 0 insertions, 8 deletions
diff --git a/src/database.rs b/src/database.rs
index 488cff5..c212745 100644
--- a/src/database.rs
+++ b/src/database.rs
@@ -220,5 +220,3 @@ impl ops::Drop for Database {
};
}
}
-
-unsafe impl Send for Database {}
diff --git a/src/directory.rs b/src/directory.rs
index e5ad11f..7b00d70 100644
--- a/src/directory.rs
+++ b/src/directory.rs
@@ -30,5 +30,3 @@ impl<'d> ops::Drop for Directory<'d> {
};
}
}
-
-unsafe impl<'d> Send for Directory<'d> {}
diff --git a/src/message.rs b/src/message.rs
index 7098a68..6edfd7e 100644
--- a/src/message.rs
+++ b/src/message.rs
@@ -81,5 +81,3 @@ impl<'q, 'd> ops::Drop for Message<'q, 'd> {
};
}
}
-
-unsafe impl<'q, 'd> Send for Message<'q, 'd> {}
diff --git a/src/thread.rs b/src/thread.rs
index 37f7cb7..9148c44 100644
--- a/src/thread.rs
+++ b/src/thread.rs
@@ -114,5 +114,3 @@ impl<'q, 'd> ops::Drop for Thread<'q, 'd> {
};
}
}
-
-unsafe impl<'q, 'd> Send for Thread<'q, 'd> {}