In one section of my program, it creates a folder that is named after the input that the user gives:
println!("\nName your world\n");
let mut name = String::new();
io::stdin().read_line(&mut name).expect("Error Reading Input!");
let mut name_path = format!("saves/{}",name);
fs::create_dir(Path::new(&name_path)).unwrap();
println!("\nWorld Created!\n");
It ran succesfully(I created a Folder called test_world), but when i viewed the folder, i noticed that it was named: test_world? I have run the program multiple times, and with different folder names, but it turns out the same(X?). Example