Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Rust
create file rust
haha
Programming language:
Rust
2021-02-01 01:32:23
0
Q:
create file rust
RobPio
Code:
Rust
2021-02-01 01:36:17
use std::fs::File; fn main() -> std::io::Result<()> { let mut f = File::create("foo.txt")?; Ok(()) }
0
Tags
file
create
Related
rust lang start a new project
rustlang how to run a program
creating constants in rust
rust compile and run
rust setup in vim
rustlang how to compile
remove file rust
rust install windows
rustfmt
how to create a window in rust lang
append to file rust
New to Communities?
Join the community