Removed yet another pair of stray bounds for Send + Sync. This time on keys

This commit is contained in:
Vincent Esche 2019-03-27 10:44:28 +01:00
parent 0ba1072c67
commit 0696ed8c3b

View file

@ -49,7 +49,7 @@ pub trait QueryStorageMassOps<DB: Database> {
fn sweep(&self, db: &DB, strategy: SweepStrategy);
}
pub trait DatabaseKey<DB>: Clone + Debug + Eq + Hash + Send + Sync {
pub trait DatabaseKey<DB>: Clone + Debug + Eq + Hash {
/// Returns true if the value of this query may have changed since
/// the given revision.
fn maybe_changed_since(&self, db: &DB, revision: Revision) -> bool;