DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR RUST
create file rust
use std::fs::File; fn main() -> std::io::Result<()> { let mut f = File::create("foo.txt")?; Ok(()) }
Source by doc.rust-lang.org #
PREVIOUS
NEXT
Tagged:
#create
#file
#rust
ADD COMMENT
Topic
COMMENT
Name
9+1 =
Submit