Skip to content

Commit

Permalink
fix trait bounds, remove GAT feature, is now stable
Browse files Browse the repository at this point in the history
  • Loading branch information
tim3z committed Nov 8, 2022
1 parent ba9360b commit f7da6d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion engine/src/datastr/graph/first_out_graph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ where
FirstOutContainer: AsRef<[EdgeId]>,
HeadContainer: AsRef<[NodeId]>,
{
type Iter<'a> = impl Iterator<Item = NodeIdT> where Self: 'a;
type Iter<'a> = impl Iterator<Item = NodeIdT> + 'a where Self: 'a;

fn link_iter(&self, node: NodeId) -> Self::Iter<'_> {
self.head()[self.neighbor_edge_indices_usize(node)].iter().copied().map(NodeIdT)
Expand Down
1 change: 0 additions & 1 deletion engine/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down

0 comments on commit f7da6d1

Please sign in to comment.