mirror of
https://github.com/urbit/ares.git
synced 2024-11-26 09:57:56 +03:00
cargo: format
This commit is contained in:
parent
315f78824f
commit
95f36e00dd
@ -14,8 +14,7 @@ pub fn jet_shas(context: &mut Context, subject: Noun) -> Result {
|
||||
let mut ruz = slot(sam, 3)?.as_atom()?;
|
||||
|
||||
let sal_bytes = &(sal.as_bytes())[0..met(3, sal)]; // drop trailing zeros
|
||||
let (mut _salt_ida, salt) =
|
||||
unsafe { IndirectAtom::new_raw_mut_bytes(stack, sal_bytes.len()) };
|
||||
let (mut _salt_ida, salt) = unsafe { IndirectAtom::new_raw_mut_bytes(stack, sal_bytes.len()) };
|
||||
salt.copy_from_slice(sal_bytes);
|
||||
|
||||
let msg_len = met(3, ruz);
|
||||
|
Loading…
Reference in New Issue
Block a user