Conversation
|
r? @JohnTitor rustbot has assigned @JohnTitor. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
r? libs |
|
It was already assigned to libs, but, sure. Is there a reason why this API isn't offered on |
|
I don't think there was any. The ACP only proposed it for I can add it, but I'm not sure if it belongs in this PR. |
|
I mean, I don't like the precedent of stabilising asymmetric impls on |
|
I assume that Rc variant should be on its own tracking issue and ACP? |
|
I would say that unless there's significant reason to make things different on |
This comment has been minimized.
This comment has been minimized.
|
Once #163489 merges and this is rebased on top of that, I think it's okay to FCP merge, since Thank you! |
|
@rustbot author |
|
Reminder, once the PR becomes ready for a review, use |
eae707b to
89f1208
Compare
|
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. |
|
@rustbot ready Rebased and updated :D |
|
@rfcbot merge libs |
|
@clarfonthey has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! cc @rust-lang/libs-ping: FCP proposed for libs, please feel free to register concerns. |
Stabilization report:
Closes #138938
{Arc,Rc}::is_unique, is a function that allows determining whether there is exactly one strong count and zero weak counts to anArc/Rc.Implementation history
Implementation: #138939
Public api
@rustbot modify labels: +T-libs
This is a pretty small feature, so opening this to hopefully get a FCP started.