Skip to content

Add custom allocator support to (try_)map on UniqueArc and UniqueRc - #161893

Open
maxdexh wants to merge 1 commit into
rust-lang:mainfrom
maxdexh:unique-arc-map
Open

Add custom allocator support to (try_)map on UniqueArc and UniqueRc#161893
maxdexh wants to merge 1 commit into
rust-lang:mainfrom
maxdexh:unique-arc-map

Conversation

@maxdexh

@maxdexh maxdexh commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Follow-up to #161617.

This one required me to add allocator support to a lot more methods.
Probably good for them to have it for future additions ^^

The old, allocator-free methods went unused from this change and I had to remove them because we don't allow warnings (they are trivial to implement on top of the allocator ones). This had the side effect of making the diff a bit weird. Sorry!

r? nia-e

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Aug 27, 2026
@rust-bors

This comment has been minimized.

@rustbot

rustbot commented Aug 31, 2026

Copy link
Copy Markdown
Collaborator

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants