This doesn't create parent directories. fs::create_dir_all does. Demo · Doc. Rust. use std::fs;. fs::create_dir_all(path)?; ...
確定! 回上一頁