diff options
| author | Michael Howell <michael@notriddle.com> | 2023-02-16 16:49:28 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2023-02-16 17:21:57 -0700 |
| commit | 5eba3f688cc6c2efc545c346675a5186da03e1fd (patch) | |
| tree | 9b4c1a3cd5288d2485181eef68b546dee93470c5 /tests/rustdoc-js-std/reference-shrink.js | |
| parent | 9a7cc6c32f1a690f86827e4724bcda85e506ef35 (diff) | |
| download | rust-5eba3f688cc6c2efc545c346675a5186da03e1fd.tar.gz rust-5eba3f688cc6c2efc545c346675a5186da03e1fd.zip | |
rustdoc: hide `reference` methods in search index
Diffstat (limited to 'tests/rustdoc-js-std/reference-shrink.js')
| -rw-r--r-- | tests/rustdoc-js-std/reference-shrink.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/rustdoc-js-std/reference-shrink.js b/tests/rustdoc-js-std/reference-shrink.js new file mode 100644 index 00000000000..f90be6d1bfd --- /dev/null +++ b/tests/rustdoc-js-std/reference-shrink.js @@ -0,0 +1,8 @@ +// exact-check + +const QUERY = 'reference::shrink'; + +const EXPECTED = { + // avoid including the method that's not going to be in the HTML + 'others': [], +}; |
