-
Notifications
You must be signed in to change notification settings - Fork 13k
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
rustdoc: add impl items from aliased type into sidebar #115682
Conversation
})); | ||
} | ||
let mut saw_impls = FxHashSet::default(); | ||
v.retain(|i| saw_impls.insert(i.def_id())); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just thought about it but wouldn't it be better to use saw_impls
directly in v.extend(av.iter().filter(|impl_| { ... }
? Like that no need to re-run a loop here to remove duplicated items. That should also limit the perf regression.
I suppose it'll impact performance so let's avoid rollup. @bors r+ rollup=iffy |
⌛ Testing commit c79b960 with merge 9be37f127178eafda298d57a2c0d788cc9a15c78... |
💔 Test failed - checks-actions |
Network error in a non-rustdoc test. @bors retry |
☀️ Test successful - checks-actions |
Finished benchmarking commit (030e4d3): comparison URL. Overall result: ❌ regressions - no action needed@rustbot label: -perf-regression Instruction countThis is a highly reliable metric that was used to determine the overall result at the top of this comment.
Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 630.509s -> 629.082s (-0.23%) |
… r=notriddle rustdoc: Add missing "Aliased type" title in the sidebar Follow-up of rust-lang#115682. The sections title are supposed to be present in the sidebar, we forgot to put this one so I added it into it. I also added the missing newly created `aliased-type` ID into the `DEFAULT_ID_MAP`. r? `@notriddle`
Rollup merge of rust-lang#115752 - GuillaumeGomez:aliased-type-title, r=notriddle rustdoc: Add missing "Aliased type" title in the sidebar Follow-up of rust-lang#115682. The sections title are supposed to be present in the sidebar, we forgot to put this one so I added it into it. I also added the missing newly created `aliased-type` ID into the `DEFAULT_ID_MAP`. r? `@notriddle`
Follow-up of #115201.