Skip to content

Add arc::unwrap #3123

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
bblum opened this issue Aug 7, 2012 · 0 comments
Closed

Add arc::unwrap #3123

bblum opened this issue Aug 7, 2012 · 0 comments
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.

Comments

@bblum
Copy link
Contributor

bblum commented Aug 7, 2012

Blocks until the reference count is 1, then consumes the arc and returns the data inside.

Useful for #3117 and, as @pcwalton claims, for css in servo.

Obvious potential for deadlock. I think this is ok.

@ghost ghost assigned bblum Aug 8, 2012
@bblum bblum closed this as completed in 3b09c3d Aug 21, 2012
@bblum bblum removed their assignment Jun 16, 2014
RalfJung pushed a commit to RalfJung/rust that referenced this issue Oct 21, 2023
triagebot: re-enable merge commit check

rust-lang/triagebot#1720 has landed.

Also make the keyword "Rustup", which is what we've been already using for such PRs for a while. Just adjust the bot to also put that in the title.
celinval pushed a commit to celinval/rust-dev that referenced this issue Jun 4, 2024
We never updated the books and do not actually require the evaluation
data anymore.
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
C-enhancement Category: An issue proposing an enhancement or a PR with one.
Projects
None yet
Development

No branches or pull requests

1 participant