Skip to content

Use inline const expression in unchecked-uninit.md #492

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 26, 2025

Conversation

senekor
Copy link
Contributor

@senekor senekor commented May 22, 2025

Inline const expressions were stabilized in Rust 1.79. They allow us to avoid the unsafe call to MaybeUninit::assume_init() and its explanation.

https://blog.rust-lang.org/2024/06/13/Rust-1.79.0/#inline-const-expressions

Inline const expressions were stabilized in Rust 1.79. They allow us to
avoid the unsafe call to MaybeUninit::assume_init() and its explanation.

https://blog.rust-lang.org/2024/06/13/Rust-1.79.0/#inline-const-expressions
@JohnTitor JohnTitor added this pull request to the merge queue May 26, 2025
Merged via the queue into rust-lang:master with commit 8b61acf May 26, 2025
2 checks passed
@senekor senekor deleted the senekor-oupvrwkspumq branch May 26, 2025 10:28
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