One can pass a Vec to function expecting a slice with implicit coersion:
Vec
fn foo(arg: &[u8]) {} foo(