]> git.lizzy.rs Git - rust.git/commitdiff
placate tidy in `mir::dataflow::graphviz`.
authorFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 24 May 2016 21:08:07 +0000 (23:08 +0200)
committerFelix S. Klock II <pnkfelix@pnkfx.org>
Tue, 24 May 2016 21:08:07 +0000 (23:08 +0200)
src/librustc_borrowck/borrowck/mir/dataflow/graphviz.rs

index 588160fff692b5321f144153dae7c22138b7ab89..63c11fb3545b016fbed578ab8506916842d7f2cd 100644 (file)
@@ -132,7 +132,9 @@ fn outgoing(mir: &Mir, bb: BasicBlock) -> Vec<Edge> {
 
 impl<'a, 'tcx, MWF, P> dot::Labeller<'a> for Graph<'a, 'tcx, MWF, P>
     where MWF: MirWithFlowState<'tcx>,
-          P: for <'b> Fn(&'b <MWF::BD as BitDenotation>::Ctxt, <MWF::BD as BitDenotation>::Idx) -> &'b Debug,
+          P: for <'b> Fn(&'b <MWF::BD as BitDenotation>::Ctxt,
+                         <MWF::BD as BitDenotation>::Idx)
+                         -> &'b Debug,
 {
     type Node = Node;
     type Edge = Edge;
@@ -243,8 +245,10 @@ fn chunked_present_left<W:io::Write>(w: &mut W,
             |w| {
                 let ctxt = self.mbcx.analysis_ctxt();
                 let flow = self.mbcx.flow_state();
-                let gen_interp = flow.interpret_set(ctxt, flow.sets.gen_set_for(i), &self.render_idx);
-                let kill_interp = flow.interpret_set(ctxt, flow.sets.kill_set_for(i), &self.render_idx);
+                let gen_interp =
+                    flow.interpret_set(ctxt, flow.sets.gen_set_for(i), &self.render_idx);
+                let kill_interp =
+                    flow.interpret_set(ctxt, flow.sets.kill_set_for(i), &self.render_idx);
                 chunked_present_left(w, &gen_interp[..], chunk_size)?;
                 let bits_per_block = flow.sets.bits_per_block();
                 {