]> git.lizzy.rs Git - rust.git/blobdiff - src/librustc_data_structures/graph/tests.rs
Rollup merge of #68504 - tmiasko:check-pass, r=alexcrichton
[rust.git] / src / librustc_data_structures / graph / tests.rs
index bc142144e930f24e8790df0d40e4b13dc1c8fff3..7f4ef906b361e478108b233204aae1436b17ecba 100644 (file)
@@ -1,7 +1,7 @@
 use crate::fx::FxHashMap;
 use std::cmp::max;
-use std::slice;
 use std::iter;
+use std::slice;
 
 use super::*;
 
@@ -51,9 +51,7 @@ fn num_nodes(&self) -> usize {
 }
 
 impl WithPredecessors for TestGraph {
-    fn predecessors(&self,
-                    node: usize)
-                    -> <Self as GraphPredecessors<'_>>::Iter {
+    fn predecessors(&self, node: usize) -> <Self as GraphPredecessors<'_>>::Iter {
         self.predecessors[&node].iter().cloned()
     }
 }