Examples. use std::fs::File; fn main() -> std::io::Result<()> { let mut f = File::open("foo.txt")?; Ok(()) } ... https://doc.rust-lang.org/std/fs/struct.
確定! 回上一頁