We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01f6461 commit bdaa90cCopy full SHA for bdaa90c
tests/run-pass/file_read.rs
@@ -5,6 +5,7 @@ use std::fs::File;
5
use std::io::Read;
6
7
fn main() {
8
+ // FIXME: create the file and delete it when `rm` is implemented.
9
let mut file = File::open("./tests/hello.txt").unwrap();
10
let mut contents = String::new();
11
file.read_to_string(&mut contents).unwrap();
0 commit comments