Skip to content

Commit a962b69

Browse files
committed
Auto merge of rust-lang#75817 - LeSeulArtichaut:proc_macro-docs, r=jyn514
Use intra-doc link in `proc_macro` Yep. One link. Helps with rust-lang#75080. r? @jyn514
2 parents 8fdce9b + c3e3b7f commit a962b69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/proc_macro/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ impl SourceFile {
451451
/// Also note that even if `is_real` returns `true`, if `--remap-path-prefix` was passed on
452452
/// the command line, the path as given may not actually be valid.
453453
///
454-
/// [`is_real`]: #method.is_real
454+
/// [`is_real`]: Self::is_real
455455
#[unstable(feature = "proc_macro_span", issue = "54725")]
456456
pub fn path(&self) -> PathBuf {
457457
PathBuf::from(self.0.path())

0 commit comments

Comments
 (0)