<!-- Thank you for filing a rustdoc issue! Rustdoc is the tool that handles the generation of docs. It is usually invoked via `cargo doc`, but can also be used directly. If you have an issue with the actual content of the docs, use the "Documentation problem" template instead. --> # Reproduction Steps search for [`"Vec::new"`](https://doc.rust-lang.org/stable/std/?search=%22Vec%3A%3Anew%22) in the standard library. <!-- * command(s) to run, if any * permalink to hosted documentation, if any * search query, if any --> # Expected Outcome only `Vec::new` should show up as a result <!-- What did you want to happen? For GUI issues, feel free to provide a mockup image of what you want it to look like. For diagnostics, please provide a mockup of the desired output in a code block. --> # Actual Output `VecDeque::new` also shows up <img width="1762" height="1182" alt="Image" src="https://github.com/user-attachments/assets/618c0867-a993-43ad-8a68-4f1813f19670" /> # Version <!-- Available via `rustdoc --version` or under the "Help" menu. If the issue involves opening the documentation in a browser, please also provide the name and version of the browser used. --> rustdoc 1.91.0-nightly (7aef4bec4 2025-09-01) # Additional Details <!-- Anything else you think is relevant -->
Reproduction Steps
search for
"Vec::new"in the standard library.Expected Outcome
only
Vec::newshould show up as a resultActual Output
VecDeque::newalso shows upVersion
rustdoc 1.91.0-nightly (7aef4be 2025-09-01)
Additional Details