Strip a single leading tab when rendering dataflow diffs

This commit is contained in:
Dylan MacKenzie 2020-09-15 18:32:12 -07:00
parent 9b4154193e
commit c910e038e8

View File

@ -578,7 +578,7 @@ where
return String::new();
}
let re = Regex::new("\u{001f}([+-])").unwrap();
let re = Regex::new("\t?\u{001f}([+-])").unwrap();
let raw_diff = format!("{:#?}", DebugDiffWithAdapter { new, old, ctxt });