-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(rustdoc): generics search #86659
Conversation
Some changes occurred in HTML/CSS/JS. |
r? @CraftSpider (rust-highfive has picked a reviewer for you, use r? to override) |
This comment has been minimized.
This comment has been minimized.
ca85dbc
to
a2b9665
Compare
@rustbot label: +A-rustdoc-js |
Overall looks good to me, thanks a lot for this fix! Just one thing: you can put multiple search index tests into one file (like it's done in here). I made this comment because: can you add a test where you only look for the generic parameter please? |
Also: I'll need to make a perf run because some types' increased, so we have a track of it. |
Sure. |
This comment has been minimized.
This comment has been minimized.
7c9b8ff
to
24c7178
Compare
…=notriddle Fix rustdoc query type filter I realized while reviewing rust-lang#86659 that the type filter was broken on search so I'd prefer it to get merged before merging rust-lang#86659. r? `@notriddle`
Can you rebase on |
This commit adds a test case for generics, re-adds generics data to the search index, and tweaks function indexing to use less space in JSON. This reverts commit 14ca894.
797d3a8
to
cedd242
Compare
@GuillaumeGomez kay, it's rebased |
Thanks! Considering that the number of changes on the rustdoc "backend" side is now very small, I don't think we need to run a perf check anymore. r=me once CI pass. |
@bors r=GuillaumeGomez |
@notriddle: 🔑 Insufficient privileges: Not in reviewers |
@bors: r+ |
📌 Commit cedd242 has been approved by |
…c, r=GuillaumeGomez fix(rustdoc): generics search This commit adds a test case for generics, re-adds generics data to the search index, and tweaks function indexing to use less space in JSON. This partially reverts commit 14ca894.
Rollup of 7 pull requests Successful merges: - rust-lang#86148 (Check the number of generic lifetime and const parameters of intrinsics) - rust-lang#86659 (fix(rustdoc): generics search) - rust-lang#86768 (Add myself to mailmap) - rust-lang#86775 (Test for const trait impls behind feature gates) - rust-lang#86779 (Allow anyone to add or remove any label starting with perf-) - rust-lang#86783 (Move Mutex::unlock to T: ?Sized) - rust-lang#86785 (proc_macro/bridge: Remove dead code Slice type) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This commit adds a test case for generics, re-adds generics data
to the search index, and tweaks function indexing to use less space in JSON.
This partially reverts commit 14ca894.