src/sets.rs

branch
dev
changeset 163
b4a47e8e80d1
parent 155
45d03cf92c23
child 164
fd9dba51afd3
--- a/src/sets.rs	Wed Sep 03 09:16:03 2025 -0500
+++ b/src/sets.rs	Wed Sep 03 09:52:30 2025 -0500
@@ -50,9 +50,9 @@
     ($($range:ident),*) => { $(
         impl<U,Idx> Set<U> for $range<Idx>
         where
-            Idx : PartialOrd<U>,
-            U : PartialOrd<Idx> + Space<Decomp=BasicDecomposition> + Clone,
-            Idx : PartialOrd
+            U : Space<Decomp=BasicDecomposition>,
+            U::OwnedSpace : PartialOrd<Idx>,
+            Idx : PartialOrd + PartialOrd<U::OwnedSpace>,
         {
             #[inline]
             fn contains<I : Instance<U>>(&self, item : I) -> bool {

mercurial