Skip to content

Extend `BytesCast` to convert to bytes, not just from bytes

Simon Sapin requested to merge topic/default/as_bytes into branch/default

Although the derive macro is unchanged, the requirements for manual unsafe impl blocks are slightly stronger. Even if unlikely this could make some previously-valid impls invalid. The incompatible version number reflects this.

Merge request reports

Loading