Skip to content

Commit c910e03

Browse files
Strip a single leading tab when rendering dataflow diffs
1 parent 9b41541 commit c910e03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_mir/src/dataflow/framework/graphviz.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -578,7 +578,7 @@ where
578578
return String::new();
579579
}
580580

581-
let re = Regex::new("\u{001f}([+-])").unwrap();
581+
let re = Regex::new("\t?\u{001f}([+-])").unwrap();
582582

583583
let raw_diff = format!("{:#?}", DebugDiffWithAdapter { new, old, ctxt });
584584

0 commit comments

Comments
 (0)