📜  将路径转换为 pathbuf - Rust 代码示例

📅  最后修改于: 2022-03-11 14:49:24.786000             🧑  作者: Mango

代码示例1
let path = Path::new("some_thing/hi.txt");
let mut path_buf = PathBuf::new();
path_buf.push(path);