We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3899dce commit 83185b4Copy full SHA for 83185b4
tests/run-pass/file_manipulation.rs
@@ -5,7 +5,7 @@ use std::fs::{File, remove_file};
5
use std::io::{Read, Write};
6
7
fn main() {
8
- let path = "./tests/hello.txt";
+ let path = "hello.txt";
9
let bytes = b"Hello, World!\n";
10
// Test creating, writing and closing a file (closing is tested when `file` is dropped).
11
let mut file = File::create(path).unwrap();
0 commit comments