提交 c910e038 编写于 作者: D Dylan MacKenzie

Strip a single leading tab when rendering dataflow diffs

上级 9b415419
......@@ -578,7 +578,7 @@ fn diff_pretty<T, C>(new: T, old: T, ctxt: &C) -> String
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 });
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册