Answers for "rust create folder"

0

rust create folder

use std::fs;

fn main() -> std::io::Result<()> {
    fs::create_dir("/some/dir")?;
    Ok(())
}
Posted by: Guest on April-26-2022

Browse Popular Code Answers by Language