diff --git a/lib/src/dag_walk.rs b/lib/src/dag_walk.rs index ee69c144d..b82b66ee5 100644 --- a/lib/src/dag_walk.rs +++ b/lib/src/dag_walk.rs @@ -49,7 +49,6 @@ pub fn topo_order_reverse( mut neighbors_fn: impl FnMut(&T) -> NI, ) -> Vec where - T: Hash + Eq + Clone, ID: Hash + Eq + Clone, II: IntoIterator, NI: IntoIterator, @@ -153,7 +152,6 @@ pub fn closest_common_node( mut neighbors_fn: impl FnMut(&T) -> NI, ) -> Option where - T: Hash + Eq + Clone, ID: Hash + Eq, II1: IntoIterator, II2: IntoIterator,