Add missing lifetime specifier

This commit is contained in:
Jeremy Stucki 2019-06-23 16:11:52 +02:00 committed by Jeremy Stucki
parent d28832dde9
commit 3cd4df70a5
No known key found for this signature in database
GPG Key ID: 8F548A5A2ED13F58

View File

@ -59,7 +59,7 @@ impl WithPredecessors for TestGraph {
}
impl WithSuccessors for TestGraph {
fn successors(&self, node: usize) -> <Self as GraphSuccessors>::Iter {
fn successors(&self, node: usize) -> <Self as GraphSuccessors<'_>>::Iter {
self.successors[&node].iter().cloned()
}
}