File tree 1 file changed +1
-8
lines changed
1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -92,8 +92,6 @@ impl<'a> PanicInfo<'a> {
92
92
/// If the `panic!` macro from the `core` crate (not from `std`)
93
93
/// was used with a formatting string and some additional arguments,
94
94
/// returns that message ready to be used for example with [`fmt::write`]
95
- ///
96
- /// [`fmt::write`]: ../fmt/fn.write.html
97
95
#[ unstable( feature = "panic_info_message" , issue = "66745" ) ]
98
96
pub fn message ( & self ) -> Option < & fmt:: Arguments < ' _ > > {
99
97
self . message
@@ -105,8 +103,6 @@ impl<'a> PanicInfo<'a> {
105
103
/// This method will currently always return [`Some`], but this may change
106
104
/// in future versions.
107
105
///
108
- /// [`Some`]: ../../std/option/enum.Option.html#variant.Some
109
- ///
110
106
/// # Examples
111
107
///
112
108
/// ```should_panic
@@ -153,10 +149,7 @@ impl fmt::Display for PanicInfo<'_> {
153
149
154
150
/// A struct containing information about the location of a panic.
155
151
///
156
- /// This structure is created by the [`location`] method of [`PanicInfo`].
157
- ///
158
- /// [`location`]: ../../std/panic/struct.PanicInfo.html#method.location
159
- /// [`PanicInfo`]: ../../std/panic/struct.PanicInfo.html
152
+ /// This structure is created by the [`PanicInfo::location`] method of [`PanicInfo`].
160
153
///
161
154
/// # Examples
162
155
///
You can’t perform that action at this time.
0 commit comments