Skip to content

std::mem::{size,align}_of -> {size,align}_of#254

Merged
Boog900 merged 1 commit into
Cuprate:mainfrom
hinto-janai:size_of
Aug 9, 2024
Merged

std::mem::{size,align}_of -> {size,align}_of#254
Boog900 merged 1 commit into
Cuprate:mainfrom
hinto-janai:size_of

Conversation

@hinto-janai

Copy link
Copy Markdown
Member

What

Replace std::mem::{size,align}_of with {size,align}_of throughout the codebase.

Added to the prelude and stabilized in rust-lang/rust#123168 (1.80).

@github-actions github-actions Bot added A-docs Area: Related to documentation. A-storage Area: Related to storage. A-net Area: Related to networking. labels Aug 9, 2024
@hinto-janai
hinto-janai marked this pull request as ready for review August 9, 2024 21:11
@hinto-janai
hinto-janai requested a review from Boog900 August 9, 2024 21:11
@Boog900
Boog900 merged commit 59adf6d into Cuprate:main Aug 9, 2024
@hinto-janai
hinto-janai deleted the size_of branch August 9, 2024 23:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-docs Area: Related to documentation. A-net Area: Related to networking. A-storage Area: Related to storage.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants