File location in Rust Playground: where can I find the file created?

use std::io::Write;
fn main() {
    let mut file = std::fs::File::create("data.txt").expect("create failed");


Since you passed a relative file path to create, it will be in the current working directory of the process.

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.