]> git.proxmox.com Git - rustc.git/blobdiff - src/doc/book/listings/ch09-error-handling/listing-09-12/src/main.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / src / doc / book / listings / ch09-error-handling / listing-09-12 / src / main.rs
index 7f16b8e995dafcbec4e65b53e95c8a9e0d9da0b7..b0f7445f47e5f347f883dbac7e6ea6c6a83d32f0 100644 (file)
@@ -2,7 +2,7 @@ use std::error::Error;
 use std::fs::File;
 
 fn main() -> Result<(), Box<dyn Error>> {
-    let f = File::open("hello.txt")?;
+    let greeting_file = File::open("hello.txt")?;
 
     Ok(())
 }