Cuprate / cuprate

Cuprate, an upcoming experimental, modern & secure monero node. Written in Rust
Other
128 stars 19 forks source link

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

Closed hinto-janai closed 3 months ago

hinto-janai commented 3 months ago

What

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

Added to the prelude and stabilized in https://github.com/rust-lang/rust/pull/123168 (1.80).