3 ms·
This author doesn't even seem to know C properly so it's hard to accept their reasoning. This in Rust: let mut role: Role = mem::zeroed(); Is not the same
by mlindner 5y ago
This author doesn't even seem to know C properly so it's hard to accept their reasoning.
This in Rust:
let mut role: Role = mem::zeroed();
Is not the same as this in C:
struct role r;
C does not zero initialize.