use std::fs::File; fn main() -> std::io::Result<()> { let file = File::create("example.txt")?; println!("File created successfully!"); Ok(()) }