diff options
Diffstat (limited to 'vendor/zip/examples/stdin_info.rs')
-rw-r--r-- | vendor/zip/examples/stdin_info.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/zip/examples/stdin_info.rs b/vendor/zip/examples/stdin_info.rs index 10d7aa8b8..a609916a0 100644 --- a/vendor/zip/examples/stdin_info.rs +++ b/vendor/zip/examples/stdin_info.rs @@ -20,12 +20,12 @@ fn real_main() -> i32 { ); match file.read(&mut buf) { Ok(n) => println!("The first {} bytes are: {:?}", n, &buf[0..n]), - Err(e) => println!("Could not read the file: {:?}", e), + Err(e) => println!("Could not read the file: {e:?}"), }; } Ok(None) => break, Err(e) => { - println!("Error encountered while reading zip: {:?}", e); + println!("Error encountered while reading zip: {e:?}"); return 1; } } |