From f7da6d1e1f0f317042dd0198ca8b062ebd215694 Mon Sep 17 00:00:00 2001 From: "Tim \"tim3z\" Zeitz" Date: Tue, 8 Nov 2022 16:11:15 +0100 Subject: [PATCH] fix trait bounds, remove GAT feature, is now stable --- engine/src/datastr/graph/first_out_graph.rs | 2 +- engine/src/lib.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/engine/src/datastr/graph/first_out_graph.rs b/engine/src/datastr/graph/first_out_graph.rs index 61443919..eab7310d 100644 --- a/engine/src/datastr/graph/first_out_graph.rs +++ b/engine/src/datastr/graph/first_out_graph.rs @@ -420,7 +420,7 @@ where FirstOutContainer: AsRef<[EdgeId]>, HeadContainer: AsRef<[NodeId]>, { - type Iter<'a> = impl Iterator where Self: 'a; + type Iter<'a> = impl Iterator + 'a where Self: 'a; fn link_iter(&self, node: NodeId) -> Self::Iter<'_> { self.head()[self.neighbor_edge_indices_usize(node)].iter().copied().map(NodeIdT) diff --git a/engine/src/lib.rs b/engine/src/lib.rs index ce47ad1f..69aa94d4 100644 --- a/engine/src/lib.rs +++ b/engine/src/lib.rs @@ -1,6 +1,5 @@ #![feature(array_windows)] #![feature(slice_group_by)] -#![feature(generic_associated_types)] #![feature(type_alias_impl_trait)] #![feature(binary_heap_retain)] #![allow(clippy::collapsible_if)]