File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Expand file tree Collapse file tree 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> {
9292 /// If the `panic!` macro from the `core` crate (not from `std`)
9393 /// was used with a formatting string and some additional arguments,
9494 /// returns that message ready to be used for example with [`fmt::write`]
95- ///
96- /// [`fmt::write`]: ../fmt/fn.write.html
9795 #[ unstable( feature = "panic_info_message" , issue = "66745" ) ]
9896 pub fn message ( & self ) -> Option < & fmt:: Arguments < ' _ > > {
9997 self . message
@@ -105,8 +103,6 @@ impl<'a> PanicInfo<'a> {
105103 /// This method will currently always return [`Some`], but this may change
106104 /// in future versions.
107105 ///
108- /// [`Some`]: ../../std/option/enum.Option.html#variant.Some
109- ///
110106 /// # Examples
111107 ///
112108 /// ```should_panic
@@ -153,10 +149,7 @@ impl fmt::Display for PanicInfo<'_> {
153149
154150/// A struct containing information about the location of a panic.
155151///
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`].
160153///
161154/// # Examples
162155///
You can’t perform that action at this time.
0 commit comments