From fa2f56ad2a19018eba2f18af494e8b4fc6ec1cf7 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Wed, 12 Feb 2025 09:34:02 -0600 Subject: [PATCH 1/2] fix: Remove trailing pipe --- examples/expected_type.svg | 6 +-- examples/footer.svg | 10 ++-- examples/format.svg | 6 +-- examples/multislice.svg | 14 ++---- src/renderer/display_list.rs | 20 -------- tests/fixtures/color/ann_eof.svg | 4 +- tests/fixtures/color/ann_insertion.svg | 4 +- tests/fixtures/color/ann_multiline.svg | 4 +- tests/fixtures/color/ann_multiline2.svg | 4 +- tests/fixtures/color/ann_removed_nl.svg | 4 +- .../color/ensure-emoji-highlight-width.svg | 4 +- tests/fixtures/color/fold_ann_multiline.svg | 4 +- tests/fixtures/color/fold_bad_origin_line.svg | 4 +- tests/fixtures/color/fold_leading.svg | 4 +- tests/fixtures/color/fold_trailing.svg | 4 +- tests/fixtures/color/issue_9.svg | 16 ++----- tests/fixtures/color/multiple_annotations.svg | 4 +- tests/fixtures/color/simple.svg | 4 +- tests/fixtures/color/strip_line.svg | 4 +- tests/fixtures/color/strip_line_char.svg | 4 +- tests/fixtures/color/strip_line_non_ws.svg | 4 +- tests/formatter.rs | 48 ++++--------------- tests/rustc_tests.rs | 22 --------- 23 files changed, 42 insertions(+), 160 deletions(-) diff --git a/examples/expected_type.svg b/examples/expected_type.svg index ed19ef38..d5de44fc 100644 --- a/examples/expected_type.svg +++ b/examples/expected_type.svg @@ -1,4 +1,4 @@ - +