about summary refs log tree commit diff
path: root/tests/coverage/unicode.coverage
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2025-03-29 21:33:01 +1100
committerZalathar <Zalathar@users.noreply.github.com>2025-04-01 13:07:33 +1100
commit577272eedeaace00aa695135b3b8fee3768536a5 (patch)
tree06840554b25497719eb44cc3fd166300991fac1f /tests/coverage/unicode.coverage
parente80a3e22328641b43a5ea66bfafdfe5950686779 (diff)
downloadrust-577272eedeaace00aa695135b3b8fee3768536a5.tar.gz
rust-577272eedeaace00aa695135b3b8fee3768536a5.zip
coverage: Shrink call spans to just the function name
This is a way to shrink call spans that doesn't involve mixing different spans,
and avoids overlap with argument spans.

This patch also removes some low-value comments that were causing rustfmt to
ignore the match arms.
Diffstat (limited to 'tests/coverage/unicode.coverage')
-rw-r--r--tests/coverage/unicode.coverage2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/coverage/unicode.coverage b/tests/coverage/unicode.coverage
index 84c5f05a8c4..44349954550 100644
--- a/tests/coverage/unicode.coverage
+++ b/tests/coverage/unicode.coverage
@@ -15,7 +15,7 @@
    LL|     33|    for _İ in 'А'..='Я' { /* Я */ }
                       ^32                ^32
    LL|       |
-   LL|      1|    if 申し訳ございません() && 申し訳ございません() {
+   LL|      1|    if 申し訳ございません() && 申し訳ございません() {
                                                       ^0
    LL|      0|        println!("true");
    LL|      1|    }