Skip to content

Commit

Permalink
Remove superfluous lifetime bounds
Browse files Browse the repository at this point in the history
  • Loading branch information
lmondada committed Jul 28, 2023
1 parent 14f9b8b commit a496c90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/algorithms/toposort.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,14 +77,14 @@ where
/// ```
pub fn toposort_filtered<'f, Map, G>(
graph: G,
source: impl IntoIterator<Item = NodeIndex> + 'f,
source: impl IntoIterator<Item = NodeIndex>,
direction: Direction,
node_filter: impl FnMut(NodeIndex) -> bool + 'f,
port_filter: impl FnMut(NodeIndex, PortIndex) -> bool + 'f,
) -> TopoSort<'f, G, Map>
where
Map: SecondaryMap<PortIndex, bool>,
G: LinkView + 'f,
G: LinkView,
{
TopoSort::new(
graph,
Expand Down

0 comments on commit a496c90

Please sign in to comment.