Update book/contents/advance/errors.md

pull/415/head
孙飞Sunface 3 years ago committed by GitHub
parent a14def4fe3
commit 9168ae04cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -347,7 +347,7 @@ fn produce_error() -> Result<(), AppError> {
fn main() { fn main() {
match produce_error() { match produce_error() {
Err(e) => eprintln!("{}", e), // Sorry, Can not find the Page! Err(e) => eprintln!("{}", e), // 抱歉,未找到指定的页面!
_ => println!("No error"), _ => println!("No error"),
} }

Loading…
Cancel
Save