Skip to content

Commit 3a9bc71

Browse files
committed
Convert html links to intra-doc links
1 parent c7d999c commit 3a9bc71

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/lib.rs

-6
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@
99
//! A wrapper around the procedural macro API of the compiler's [`proc_macro`]
1010
//! crate. This library serves two purposes:
1111
//!
12-
//! [`proc_macro`]: https://doc.rust-lang.org/proc_macro/
13-
//!
1412
//! - **Bring proc-macro-like functionality to other contexts like build.rs and
1513
//! main.rs.** Types from `proc_macro` are entirely specific to procedural
1614
//! macros and cannot ever exist in code outside of a procedural macro.
@@ -532,8 +530,6 @@ impl Span {
532530
/// Warning: the underlying [`proc_macro::Span::join`] method is
533531
/// nightly-only. When called from within a procedural macro not using a
534532
/// nightly compiler, this method will always return `None`.
535-
///
536-
/// [`proc_macro::Span::join`]: https://doc.rust-lang.org/proc_macro/struct.Span.html#method.join
537533
pub fn join(&self, other: Span) -> Option<Span> {
538534
self.inner.join(other.inner).map(Span::_new)
539535
}
@@ -1296,8 +1292,6 @@ impl Literal {
12961292
/// Warning: the underlying [`proc_macro::Literal::subspan`] method is
12971293
/// nightly-only. When called from within a procedural macro not using a
12981294
/// nightly compiler, this method will always return `None`.
1299-
///
1300-
/// [`proc_macro::Literal::subspan`]: https://doc.rust-lang.org/proc_macro/struct.Literal.html#method.subspan
13011295
pub fn subspan<R: RangeBounds<usize>>(&self, range: R) -> Option<Span> {
13021296
self.inner.subspan(range).map(Span::_new)
13031297
}

0 commit comments

Comments
 (0)