Skip to content

Commit 66a095b

Browse files
committed
Consistent punctuation
1 parent 940a208 commit 66a095b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/rustdoc-internals/rustdoc-json-test-suite.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,16 @@ It uses [JSONPath] as a query language, which takes a path, and returns a *list*
3030

3131
### Directives
3232

33-
- `//@ has <path>`:: Checks `<path>` exists, i.e. matches at least 1 value.
34-
- `//@ !has <path>`:: Checks `<path>` doesn't exist, i.e. matches 0 values.
33+
- `//@ has <path>`: Checks `<path>` exists, i.e. matches at least 1 value.
34+
- `//@ !has <path>`: Checks `<path>` doesn't exist, i.e. matches 0 values.
3535
- `//@ has <path> <value>`: Check `<path>` exists, and at least 1 of the matches is equal to the given `<value>`
3636
- `//@ !has <path> <value>`: Checks `<path>` exists, but none of the matches equal the given `<value>`.
3737
- `//@ is <path> <value>`: Check `<path>` matches exactly one value, and it's equal to the given `<value>`.
3838
- `//@ is <path> <value> <value>...`: Check that `<path>` matches to exactly every given `<value>`.
3939
Ordering doesn't matter here.
4040
- `//@ !is <path> <value>`: Check `<path>` matches exactly one value, and that value is not equal to the given `<value>`.
41-
- `//@ count <path> <number>` Check that `<path>` matches to `<number>` of values.
42-
- `//@ set <name> = <path>`, Check that `<path>` matches exactly one value, and store that value to the variable called `<name>`
41+
- `//@ count <path> <number>`: Check that `<path>` matches to `<number>` of values.
42+
- `//@ set <name> = <path>`: Check that `<path>` matches exactly one value, and store that value to the variable called `<name>`.
4343

4444
These are defined in [`directive.rs`].
4545

0 commit comments

Comments
 (0)