8000 Add UnsafeCell::into_inner for parity with std by matklad · Pull Request #272 · tokio-rs/loom · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add UnsafeCell::into_inner for parity with std #272

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

Merged
merged 1 commit into from
May 19, 2022

Conversation

matklad
Copy link
Contributor
@matklad matklad commented May 19, 2022

No description provided.

@matklad
Copy link
Contributor Author
matklad commented May 19, 2022

Context: want to try out loom with once_cell

@matklad
Copy link
Contributor Author
matklad commented May 19, 2022

Heh, the above failed for a more fundamental reason -- loom itself depends on once_cell 🤣

Still, feels like a good API to have!

EDIT: though it's probably just @matklad getting confused by cargo

Copy link
Contributor
@Darksonn Darksonn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

@Darksonn Darksonn enabled auto-merge (squash) May 19, 2022 13:37
@Darksonn Darksonn merged commit fd6fee9 into tokio-rs:master May 19, 2022
@matklad matklad deleted the into-inner branch May 19, 2022 13:45
@matklad
Copy link
Contributor Author
matklad commented May 19, 2022

@Darksonn if I can get a release with this, that'd be extra nice!

hawkw added a commit that referenced this pull request May 19, 2022
# 0.5.6 (May 19, 2022)

### Added

- cell: add `UnsafeCell::into_inner` for parity with `std` (#272)
- sync: re-enable `Arc::strong_count` (#172)
- sync: implement `Arc::try_unwrap` (#262)
- sync: add `mpsc::Receiver::try_recv` (#262)

### Documented

- show feature flags in docs (#151)
- fix broken RustDoc links (#273)
hawkw added a commit that referenced this pull request May 19, 2022
# 0.5.6 (May 19, 2022)

### Added

- cell: add `UnsafeCell::into_inner` for parity with `std` (#272)
- sync: re-enable `Arc::strong_count` (#172)
- sync: implement `Arc::try_unwrap` (#262)
- sync: add `mpsc::Receiver::try_recv` (#262)

### Documented

- show feature flags in docs (#151)
- fix broken RustDoc links (#273)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0