-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Add arc::unwrap #3123
Copy link
Copy link
Closed
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.
Metadata
Metadata
Assignees
Labels
C-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.
Type
Fields
Give feedbackNo fields configured for issues without a type.
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.