Remove use of unsafe
Dependencies
- [2]
A3RM526YIntegrating identity malleability - [3]
DO2Y5TY5Tag synchronisation - [*]
SXEYMYF7Fixing the bad changes in history (unfortunately, by rebooting).
Change contents
- replacement in libpijul/src/pristine/mod.rs at line 187
if b.len() < 16 {return None;}let mut x = RemoteId([0; 16]);unsafe {std::ptr::copy_nonoverlapping(b.as_ptr(), x.0.as_mut_ptr(), 16);}Some(x)Some(RemoteId(b.try_into().ok()?))