Skip to content

Commit 74947b2

Browse files
authored
feat: Relax bounds (#35)
1 parent 6e78c6d commit 74947b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/use_query.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ pub fn use_query<T, E, K, const N: usize>(
141141
query: impl FnOnce() -> Query<T, E, K>,
142142
) -> UseQuery<T, E, K>
143143
where
144-
T: 'static + PartialEq,
144+
T: 'static,
145145
E: 'static,
146146
K: 'static + Eq + Hash + Clone,
147147
{
@@ -249,7 +249,7 @@ pub fn use_get_query<T, E, K, Q, F, const N: usize>(
249249
query_fn: Q,
250250
) -> UseQuery<T, E, K>
251251
where
252-
T: 'static + PartialEq,
252+
T: 'static,
253253
E: 'static,
254254
K: 'static + Eq + Hash + Clone,
255255
Q: 'static + Fn(Vec<K>) -> F,

0 commit comments

Comments
 (0)