Create A Directory In Rust
This is straight from the rust docs. This version creates parent directories too. Using `create_dir()`` by itself will just make one.
Code
use std::fs;
fn main() -> std::io::Result<()> {
fs::create_dir_all("/some/dir")?;
Ok(())
}