to_path_buf

Function to_path_buf 

Source
pub fn to_path_buf(path: &String) -> Result<PathBuf>
Expand description

Convert a string to a PathBuf

ยงErrors

  • This function never errors, but is wrapped to use with map_or_else and similar