Skip to content

Safety comments quote new bit validity guarantees - #462

Merged
joshlf merged 1 commit into
mainfrom
bit-validity-guarantees
Nov 15, 2023
Merged

Safety comments quote new bit validity guarantees#462
joshlf merged 1 commit into
mainfrom
bit-validity-guarantees

Conversation

@joshlf

@joshlfjoshlf commented Oct 4, 2023

Copy link
Copy Markdown
Member

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

@joshlfjoshlf 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
joshlfforce-pushed the bit-validity-guarantees branch from f94c1ac to 3effe73CompareNovember 15, 2023 21:41
@joshlf
joshlf requested a review from jswrennNovember 15, 2023 21:41
@joshlfjoshlf removed the blocked-on-rust Blocked on a Rust feature landing or stabilizing label Nov 15, 2023
@joshlf
joshlf enabled auto-merge November 15, 2023 21:41
Comment threadsrc/lib.rs
@joshlf
joshlf added this pull request to the merge queueNov 15, 2023
Merged via the queue into main with commit 29022e4Nov 15, 2023
@joshlf
joshlf deleted the bit-validity-guarantees branch November 15, 2023 21:52
Sign up for freeto 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

@joshlf@jswrenn