diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2016-10-19 23:15:01 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-19 23:15:01 +0200 |
| commit | e7dc035f92c2e753c2a8b2cb6a6e80dbf2dd5d34 (patch) | |
| tree | 394f9652830c38049562ecab11955fd1612079a7 /src/librustc_data_structures/control_flow_graph/reference.rs | |
| parent | dfb74ee97b2210fb9f3f00bbbd3494180b0e527b (diff) | |
| parent | f1e4ae17b1a80119599e501e26fed0d7635b65f7 (diff) | |
| download | rust-e7dc035f92c2e753c2a8b2cb6a6e80dbf2dd5d34.tar.gz rust-e7dc035f92c2e753c2a8b2cb6a6e80dbf2dd5d34.zip | |
Rollup merge of #37285 - srinivasreddy:cfg, r=nikomatsakis
run rustfmt on control_flow_graph folder
Diffstat (limited to 'src/librustc_data_structures/control_flow_graph/reference.rs')
| -rw-r--r-- | src/librustc_data_structures/control_flow_graph/reference.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/librustc_data_structures/control_flow_graph/reference.rs b/src/librustc_data_structures/control_flow_graph/reference.rs index d735be1ed2f..3b8b01f2ff4 100644 --- a/src/librustc_data_structures/control_flow_graph/reference.rs +++ b/src/librustc_data_structures/control_flow_graph/reference.rs @@ -21,13 +21,13 @@ impl<'graph, G: ControlFlowGraph> ControlFlowGraph for &'graph G { (**self).start_node() } - fn predecessors<'iter>(&'iter self, node: Self::Node) - -> <Self as GraphPredecessors<'iter>>::Iter { + fn predecessors<'iter>(&'iter self, + node: Self::Node) + -> <Self as GraphPredecessors<'iter>>::Iter { (**self).predecessors(node) } - fn successors<'iter>(&'iter self, node: Self::Node) - -> <Self as GraphSuccessors<'iter>>::Iter { + fn successors<'iter>(&'iter self, node: Self::Node) -> <Self as GraphSuccessors<'iter>>::Iter { (**self).successors(node) } } |
