mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2025-04-22 05:18:04 +08:00
9 lines
137 B
Rust
Executable File
9 lines
137 B
Rust
Executable File
use std::error::Error;
|
|
use std::fs::File;
|
|
|
|
fn main() -> Result<(), Box<dyn Error>> {
|
|
let f = File::open("hello.txt")?;
|
|
|
|
Ok(())
|
|
}
|