Skip to content

Conversation

@thaliaarchi
Copy link
Contributor

Use std::mem::{size_of, size_of_val, align_of, align_of_val} from the prelude instead of importing or qualifying them.

These functions were added to all preludes in Rust 1.80.

Use `std::mem::{size_of, size_of_val, align_of, align_of_val}` from the
prelude instead of importing or qualifying them.

These functions were added to all preludes in Rust 1.80.
@calebzulawski calebzulawski merged commit 74cddca into rust-lang:master Mar 7, 2025
59 checks passed
@thaliaarchi thaliaarchi deleted the use-prelude-size-of branch March 7, 2025 06: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.

3 participants