Remove bounds on Query keys and values

This commit is contained in:
memoryruins 2018-10-07 15:14:26 -04:00
parent e5c97040f1
commit 4c7bd8745a

View file

@ -70,8 +70,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;
}