-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Remove surplus prepend LinkedList fn #85571
Conversation
Originally committed to Rust in 2013, it is identical to append with a reversed order of arguments.
(rust-highfive has picked a reviewer for you, use r? to override) |
I don't necessarily mind removing this, though it might make sense to deprecate it for a bit so that the transition path can be signaled via the deprecation message. r? @dtolnay |
This is not the method from #20356. That one was deleted in #20462. The method in this PR is from #68123. r? @Amanieu |
I am learning so many things about the history of this source file today. |
I am not sure how that method got in there, it has nothing to do with cursors. @bors r+ |
📌 Commit c516e71 has been approved by |
Rollup of 6 pull requests Successful merges: - rust-lang#84758 (MSVC: Avoid using jmp stubs for dll function imports) - rust-lang#85288 (add an example to explain std::io::Read::read returning 0 in some cases) - rust-lang#85334 (Add doc aliases to `unit`) - rust-lang#85525 (Fix my mailmap entry) - rust-lang#85571 (Remove surplus prepend LinkedList fn) - rust-lang#85575 (Fix auto-hide for implementations and implementors.) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
This nightly library feature provides a function on
LinkedList<T>
that is identical tofn append
with a reversed order of arguments. Observe this diff against thefn append
doctest:As this has received no obvious request to stabilize it, nor does it have a tracking issue, and was left on nightly and the consensus seems to have been to deprecate it in this pre-1.0 PR in 2014, #20356, I propose simply removing it.