about summary refs log tree commit diff
path: root/src/doc/rustc-dev-guide
diff options
context:
space:
mode:
authorAlona Enraght-Moony <code@alona.page>2025-09-05 20:39:14 +0100
committerAlona Enraght-Moony <code@alona.page>2025-09-05 20:39:14 +0100
commit1d2457b04898edb898850e87f4fe57e5598dbdf6 (patch)
treeec7a928de9c22509a35ea717beb42c663e5d69db /src/doc/rustc-dev-guide
parentcd9917208fc29c4e3f7f174c32443f1875a0173d (diff)
downloadrust-1d2457b04898edb898850e87f4fe57e5598dbdf6.tar.gz
rust-1d2457b04898edb898850e87f4fe57e5598dbdf6.zip
Consistent punctuation
Diffstat (limited to 'src/doc/rustc-dev-guide')
-rw-r--r--src/doc/rustc-dev-guide/src/rustdoc-internals/rustdoc-json-test-suite.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/doc/rustc-dev-guide/src/rustdoc-internals/rustdoc-json-test-suite.md b/src/doc/rustc-dev-guide/src/rustdoc-internals/rustdoc-json-test-suite.md
index 2d48878b05a..3044136c146 100644
--- a/src/doc/rustc-dev-guide/src/rustdoc-internals/rustdoc-json-test-suite.md
+++ b/src/doc/rustc-dev-guide/src/rustdoc-internals/rustdoc-json-test-suite.md
@@ -30,16 +30,16 @@ It uses [JSONPath] as a query language, which takes a path, and returns a *list*
 
 ### Directives
 
-- `//@ has <path>`:: Checks `<path>` exists, i.e. matches at least 1 value.
-- `//@ !has <path>`:: Checks `<path>` doesn't exist, i.e. matches 0 values.
+- `//@ has <path>`: Checks `<path>` exists, i.e. matches at least 1 value.
+- `//@ !has <path>`: Checks `<path>` doesn't exist, i.e. matches 0 values.
 - `//@ has <path> <value>`: Check `<path>` exists, and at least 1 of the matches is equal to the given `<value>` 
 - `//@ !has <path> <value>`: Checks `<path>` exists, but none of the matches equal the given `<value>`.
 - `//@ is <path> <value>`: Check `<path>` matches exactly one value, and it's equal to the given `<value>`.
 - `//@ is <path> <value> <value>...`: Check that `<path>` matches to exactly every given `<value>`. 
    Ordering doesn't matter here.
 - `//@ !is <path> <value>`: Check `<path>` matches exactly one value, and that value is not equal to the given `<value>`.
-- `//@ count <path> <number>` Check that `<path>` matches to `<number>` of values.
-- `//@ set <name> = <path>`, Check that `<path>` matches exactly one value, and store that value to the variable called `<name>`
+- `//@ count <path> <number>`: Check that `<path>` matches to `<number>` of values.
+- `//@ set <name> = <path>`: Check that `<path>` matches exactly one value, and store that value to the variable called `<name>`.
 
 These are defined in [`directive.rs`].