Skip to main content

is_str_as_bytes

Function is_str_as_bytes 

Source
pub fn is_str_as_bytes(callee: Option<DefId>) -> bool
Expand description

str::as_bytes: reinterprets &str as &[u8] — same data pointer and byte length, so the result aliases the argument.