ad9ca06bdab3063f566d016f1b586dfc2c58743b
Changed FromBytesError::InvalidBytes to take ownership of the byte slice by converting it to Vec<u8>. This removes the lifetime parameter from the enum, simplifying the API and preventing potential lifetime-related issues. The change ensures that error instances can be freely moved and stored without borrowing constraints.
The file is empty.
Description
Languages
Rust
100%