Merge pull request #42 from memoryruins/remove-send-bounds

Remove Send bounds on Query keys and values
This commit is contained in:
Niko Matsakis 2018-10-09 08:22:16 -04:00 committed by GitHub
commit d3fdfad141
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -72,8 +72,8 @@ pub trait QueryFunction<DB: Database>: Query<DB> {
}
pub trait Query<DB: Database>: Debug + Default + Sized + 'static {
type Key: Clone + Debug + Hash + Eq + Send;
type Value: Clone + Debug + Hash + Eq + Send;
type Key: Clone + Debug + Hash + Eq;
type Value: Clone + Debug + Hash + Eq;
type Storage: QueryStorageOps<DB, Self> + Send + Sync;
}