Skip to content
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

Rename NoCell to Immutable #1137

Merged
merged 1 commit into from Apr 24, 2024
Merged

Rename NoCell to Immutable #1137

merged 1 commit into from Apr 24, 2024

Conversation

jswrenn
Copy link
Collaborator

@jswrenn jswrenn commented Apr 24, 2024

We selected Immutable on @rcoh's suggestion that our name for this be a single, evocative word, like Send and Sync. As with Send and Sync, we do not hope that Immutable, on its own, captures the entire semantics of this trait; the burden of entirely capturing its semantics rests on its documentation.

We are not overly concerned with the risk of future conflict with Rust. If and when Rust stabilizes its own version of this trait, we will adjust zerocopy to use Rust's trait instead.

Closes #994

We selected `Immutable` on @rcoh's suggestion that our name for this be a
single, evocative word, like `Send` and `Sync`. As with `Send` and `Sync`,
we do not hope that `Immutable`, on its own, captures the entire semantics
of this trait; the burden of entirely capturing its semantics rests on its
documentation.

We are not overly concerned with the risk of future conflict with Rust. If
and when Rust stabilizes its own version of this trait, we will adjust
zerocopy to use Rust's trait instead.

Closes #994
@joshlf joshlf added this pull request to the merge queue Apr 24, 2024
Merged via the queue into main with commit 243c452 Apr 24, 2024
210 checks passed
@joshlf joshlf deleted the immutable branch April 24, 2024 17:17
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.

Bikeshed the name of our NoCell trait
2 participants