diff options
author | Dan Davison <dandavison7@gmail.com> | 2019-07-29 11:20:03 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2019-07-29 11:48:36 -0400 |
commit | bf8db066c9a7f65be987aa681f46e7b17f70feaf (patch) | |
tree | adf7f0a58d8e38a3f43eae5ef03d362bf9745bf8 /src/edits.rs | |
parent | e9378628a65f998c69ae6f087097ee3051c18889 (diff) |
Suppress new lines in debugging utility
Diffstat (limited to 'src/edits.rs')
-rw-r--r-- | src/edits.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } |