diff options
Diffstat (limited to 'src/librustc_data_structures/graph/reference.rs')
| -rw-r--r-- | src/librustc_data_structures/graph/reference.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/librustc_data_structures/graph/reference.rs b/src/librustc_data_structures/graph/reference.rs index 9442bb3cdec..c259fe56c15 100644 --- a/src/librustc_data_structures/graph/reference.rs +++ b/src/librustc_data_structures/graph/reference.rs @@ -23,9 +23,7 @@ impl<'graph, G: WithSuccessors> WithSuccessors for &'graph G { } impl<'graph, G: WithPredecessors> WithPredecessors for &'graph G { - fn predecessors(&self, - node: Self::Node) - -> <Self as GraphPredecessors<'_>>::Iter { + fn predecessors(&self, node: Self::Node) -> <Self as GraphPredecessors<'_>>::Iter { (**self).predecessors(node) } } |
