cargo_util::paths

Function path2bytes

Source
pub fn path2bytes(path: &Path) -> Result<&[u8]>
Expand description

Converts a path to UTF-8 bytes.