Use intra-doc link in `proc_macro`

This commit is contained in:
LeSeulArtichaut 2020-08-22 22:29:43 +02:00
parent 5528caf914
commit c3e3b7f119
1 changed files with 1 additions and 1 deletions

View File

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