diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-09-06 09:36:38 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-09-06 09:36:38 +0200 |
| commit | ab75a1713a00e6d61a2bdf4ddc3d36713f03ce19 (patch) | |
| tree | 9997c9f95bac72841cd2360293db43b7637e69d1 /src/test/rustdoc-js-std | |
| parent | 5b995397dba72b9afeb621eef17479b8538f235a (diff) | |
| parent | cb84aa4744c7a6120d8311806912240275d04960 (diff) | |
| download | rust-ab75a1713a00e6d61a2bdf4ddc3d36713f03ce19.tar.gz rust-ab75a1713a00e6d61a2bdf4ddc3d36713f03ce19.zip | |
Rollup merge of #64094 - kawa-yoiko:rustdoc-search, r=GuillaumeGomez
Improve searching in rustdoc and add tests 👋 I have made searching in rustdoc more intuitive, added a couple more tests and made a little shell script to aid testing. Closes #63005. It took me quite a while to figure out how to run the tests for rustdoc (instead of running tests for other crates with rustdoc); the only pointer I found was [hidden in the rustc book](https://rust-lang.github.io/rustc-guide/rustdoc.html#cheat-sheet). Maybe this could be better documented? I shall be delighted to help if it is desirable.
Diffstat (limited to 'src/test/rustdoc-js-std')
| -rw-r--r-- | src/test/rustdoc-js-std/vec-new.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/rustdoc-js-std/vec-new.js b/src/test/rustdoc-js-std/vec-new.js index e4daa5065d2..e1a3256876b 100644 --- a/src/test/rustdoc-js-std/vec-new.js +++ b/src/test/rustdoc-js-std/vec-new.js @@ -4,5 +4,6 @@ const EXPECTED = { 'others': [ { 'path': 'std::vec::Vec', 'name': 'new' }, { 'path': 'std::vec::Vec', 'name': 'ne' }, + { 'path': 'std::rc::Rc', 'name': 'ne' }, ], }; |
