pub fn memfrob<T: BitXorAssign + From<u8>>(s: &mut [T]) {
    for c in s {
        *c ^= 42.into();
    }
}
/// Encrypts the slice s by exclusive-ORing each element with the number 42, converted into T.
///
/// Note that this function is not a proper encryption routine as the XOR constant is fixed,
/// and is only suitable for hiding strings.
Encrypts the slice s by exclusive-ORing each element with the number 42, converted into T.
Note that this function is not a proper encryption routine as the XOR constant is fixed,
and is only suitable for hiding strings.
Encrypts the slice s by exclusive - ORing each element with the number 42 converted into T . Note that this function is not a proper encryption routine as the XOR constant is fixed and is only suitable for hiding strings .
pub fn memfrob<T: BitXorAssign + From<u8>>(s: &mut [T]) {
    for c in s {
        *c ^= 42.into();
    }
}
pub fn memfrob < T : BitXorAssign + From < u8 > > ( s : & mut [ T ] ) { for c in s { * c ^= 42 . into ( ) ; } }
Encrypts the slice s by exclusive-ORing each element with the number 42, converted into T.
Note that this function is not a proper encryption routine as the XOR constant is fixed,
and is only suitable for hiding strings.
Encrypts the slice s by exclusive - ORing each element with the number 42 converted into T . Note that this function is not a proper encryption routine as the XOR constant is fixed and is only suitable for hiding strings .
s
&mut [T]
s
&mut [T]