dirs_sys::xdg_user_dirs

Function split_once

source
fn split_once(bytes: &[u8], separator: u8) -> Option<(&[u8], &[u8])>
Expand description

Returns bytes before and after first occurrence of separator.