diff options
| author | Alona Enraght-Moony <code@alona.page> | 2025-09-05 20:35:51 +0100 |
|---|---|---|
| committer | Alona Enraght-Moony <code@alona.page> | 2025-09-05 20:35:51 +0100 |
| commit | cd9917208fc29c4e3f7f174c32443f1875a0173d (patch) | |
| tree | 10cc4cf7a30c04e48b6a9ff9458c81ccba39e1bd /src/doc | |
| parent | 93e65927f483c6cb2a76eb5294b0014e6866b7a0 (diff) | |
| download | rust-cd9917208fc29c4e3f7f174c32443f1875a0173d.tar.gz rust-cd9917208fc29c4e3f7f174c32443f1875a0173d.zip | |
Make footnote render correctly in github
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/rustc-dev-guide/src/rustdoc-internals/rustdoc-json-test-suite.md | 4 |
1 files changed, 2 insertions, 2 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 efc576cc900..2d48878b05a 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 @@ -63,13 +63,13 @@ Arguments to directives are split using the [shlex] crate, which implements POSI This is because both `<path>` and `<value>` arguments to [directives](#directives) frequently have both whitespace and quote marks. -To use the `@ is` with a `<path>` of `$.index[?(@.docs == "foo")].some.field` and a value of `"bar"` [^why quote], you'd write: +To use the `@ is` with a `<path>` of `$.index[?(@.docs == "foo")].some.field` and a value of `"bar"` [^why_quote], you'd write: ```rust //@ is '$.is[?(@.docs == "foo")].some.field' '"bar"' ``` -[^why quote]: The value needs to be `"bar"` *after* shlex splitting, because we +[^why_quote]: The value needs to be `"bar"` *after* shlex splitting, because we it needs to be a JSON string value. [json output]: https://doc.rust-lang.org/nightly/rustdoc/unstable-features.html#json-output |
