about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTshepang Mbambo <tshepang@gmail.com>2025-04-19 17:57:56 +0200
committerTshepang Mbambo <tshepang@gmail.com>2025-04-19 17:58:12 +0200
commitd09b3c75de1d2a4f15c6537d402df60a98fe07c3 (patch)
treeba8f96634d5f8de325787622810347601c8ea328
parent6be60e83b5660f45fc26d75e43b6745e3a2d0ee9 (diff)
downloadrust-d09b3c75de1d2a4f15c6537d402df60a98fe07c3.tar.gz
rust-d09b3c75de1d2a4f15c6537d402df60a98fe07c3.zip
fix grammar
-rw-r--r--src/doc/rustc-dev-guide/src/tests/ui.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/rustc-dev-guide/src/tests/ui.md b/src/doc/rustc-dev-guide/src/tests/ui.md
index f7857ae6903..06b13a324ee 100644
--- a/src/doc/rustc-dev-guide/src/tests/ui.md
+++ b/src/doc/rustc-dev-guide/src/tests/ui.md
@@ -333,7 +333,7 @@ fn main() {
 Use of `error-pattern` is not recommended in general.
 
 For strict testing of compile time output, try to use the line annotations `//~` as much as
-possible, including `//~?` annotations for diagnostics without span.
+possible, including `//~?` annotations for diagnostics without spans.
 
 If the compile time output is target dependent or too verbose, use directive
 `//@ dont-require-annotations: <diagnostic-kind>` to make the line annotation checking