File tree 1 file changed +2
-2
lines changed
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
9
9
` panic! ` when they are set to [ ` None ` ] or [ ` Err ` ] variants.
10
10
11
11
When 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
13
13
the calling Rust thread, causing the thread to panic entirely.
14
14
15
15
The 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
55
55
[ `panic_any` ] : ../std/panic/fn.panic_any.html
56
56
[ `Box` ] : ../std/boxed/struct.Box.html
57
57
[ `Any` ] : crate::any::Any
58
- [ `format!` ] : ../std/macro.format .html
58
+ [ `format!` syntax ] : ../std/fmt/index .html
59
59
[ book ] : ../book/ch09-00-error-handling.html
60
60
[ `std::result` ] : ../std/result/index.html
61
61
You can’t perform that action at this time.
0 commit comments