nightly constify to_bytes
nightly constify to_bytes

This requires a slightly different implementation that goes through
unsafe from_parts, as slicing is not available in a const fashion yet.

Amanieu/cstr_core