File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ tests. `panic!` is closely tied with the `unwrap` method of both
99` panic! ` when they are set to [ ` None ` ] or [ ` Err ` ] variants.
1010
1111When using ` panic!() ` you can specify a string payload, that is built using
12- the [ ` format! ` ] syntax. That payload is used when injecting the panic into
12+ the [ ` format! ` syntax] . That payload is used when injecting the panic into
1313the calling Rust thread, causing the thread to panic entirely.
1414
1515The behavior of the default ` std ` hook, i.e. the code that runs directly
@@ -55,7 +55,7 @@ For more detailed information about error handling check out the [book] or the
5555[ `panic_any` ] : ../std/panic/fn.panic_any.html
5656[ `Box` ] : ../std/boxed/struct.Box.html
5757[ `Any` ] : crate::any::Any
58- [ `format!` ] : ../std/macro.format .html
58+ [ `format!` syntax ] : ../std/fmt/index .html
5959[ book ] : ../book/ch09-00-error-handling.html
6060[ `std::result` ] : ../std/result/index.html
6161
You can’t perform that action at this time.
0 commit comments