3 ms·
> in C I'd be tempted to reuse a buffer allocated for one purpose ... In rust I'd just declare an enum for this. Enums in Rust can store data. In this way they
by gridspy 6y ago
> in C I'd be tempted to reuse a buffer allocated for one purpose
... In rust I'd just declare an enum for this. Enums in Rust can store data. In this way they are like a safe union.