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

Safety comments quote new bit validity guarantees #462

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

joshlf
Copy link
Member

@joshlf joshlf commented Oct 4, 2023

rust-lang/reference#1392 adds bit validity guarantees for numeric types. This commit makes use of those guarantees to provide stronger soundness justifications for some trait impls.

Closes #440

@joshlf joshlf added the blocked-on-rust Blocked on a Rust feature landing or stabilizing label Oct 4, 2023
rust-lang/reference#1392 adds bit validity
guarantees for numeric types. This commit makes use of those guarantees
to provide stronger soundness justifications for some trait impls.

Closes #440
@joshlf joshlf requested a review from jswrenn November 15, 2023 21:41
@joshlf joshlf removed the blocked-on-rust Blocked on a Rust feature landing or stabilizing label Nov 15, 2023
src/lib.rs Show resolved Hide resolved
@joshlf joshlf added this pull request to the merge queue Nov 15, 2023
Merged via the queue into main with commit 29022e4 Nov 15, 2023
126 checks passed
@joshlf joshlf deleted the bit-validity-guarantees branch November 15, 2023 21:52
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.

Update TODOs and safety comments once rust-lang/reference#1392 is stable
2 participants