From bf8db066c9a7f65be987aa681f46e7b17f70feaf Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Mon, 29 Jul 2019 11:20:03 -0400 Subject: Suppress new lines in debugging utility --- src/edits.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/edits.rs') diff --git a/src/edits.rs b/src/edits.rs index cd28316f..52189ced 100644 --- a/src/edits.rs +++ b/src/edits.rs @@ -544,7 +544,7 @@ mod tests { #[allow(dead_code)] fn print_annotated_line(annotated_line: AnnotatedLine) { for (edit, s) in annotated_line { - print!("({} {}), ", fmt_edit(edit), s); + print!("({} {}), ", fmt_edit(edit), s.trim_end()); } print!("\n"); } -- cgit v1.2.3