Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit b639cb1

Browse files
denisvasilikJoshua Nelson
and
Joshua Nelson
authored
Enhance wording
Co-authored-by: Joshua Nelson <[email protected]>
1 parent 9c7fb6c commit b639cb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/panic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ impl fmt::Display for PanicInfo<'_> {
149149

150150
/// A struct containing information about the location of a panic.
151151
///
152-
/// This structure is created by the [`PanicInfo::location`] method of [`PanicInfo`].
152+
/// This structure is created by [`PanicInfo::location()`].
153153
///
154154
/// # Examples
155155
///

0 commit comments

Comments
 (0)