Elektrine lite

← Feed

@cliffle@hachyderm.io

Post #4152263

2026-07-28 01:00 UTC

Since Rust still doesn't implement Default for [u8; 2048], I find myself pulling in the (fantastic) zerocopy crate just to get new_zeroed. Because zerocopy::FromZeroes is _absolutely_ implemented for arrays of all sizes, unlike Default.

Replies (2)