You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pubfnxor_hasher<'a,T>(inp:&'a[T],sbox:&mut[T])whereT: core::ops::BitXorAssign<&'aT>,{let len = sbox.len();if len == 0{return;};for chunk in inp.chunks(len){
chunk.iter().zip(sbox).for_each(|(i, s)| *s ^= i);}}
Doesn't compile because sbox moves into zip, so &mut *sbox must be used instead. I find this silly, but "silly" isn't enough to be considered "obscure"
The text was updated successfully, but these errors were encountered:
Does the following qualify?
Doesn't compile because
sbox
moves intozip
, so&mut *sbox
must be used instead. I find this silly, but "silly" isn't enough to be considered "obscure"The text was updated successfully, but these errors were encountered: