std::path
pub struct Path { pub inner: str, }
inner
impl Path
fn new<S: AsRef<str> + ?Sized>(s: &S) -> &Path
Create a new path
This uses the same logic in libstd, it should be safe for valid &str