]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_data_structures/graph/reference.rs
parser: move `ban_async_in_2015` to `fn` parsing & improve it.
[rust.git] / src / librustc_data_structures / graph / reference.rs
index 9442bb3cdec3b8a11cf73122535d98c569a7f011..c259fe56c1509e913374dfe94b0025c5d715982c 100644 (file)
@@ -23,9 +23,7 @@ fn successors(&self, node: Self::Node) -> <Self as GraphSuccessors<'_>>::Iter {
 }
 
 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)
     }
 }