Commit 3a9bc71 1 parent c7d999c commit 3a9bc71 Copy full SHA for 3a9bc71
File tree 1 file changed +0
-6
lines changed
1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change 9
9
//! A wrapper around the procedural macro API of the compiler's [`proc_macro`]
10
10
//! crate. This library serves two purposes:
11
11
//!
12
- //! [`proc_macro`]: https://doc.rust-lang.org/proc_macro/
13
- //!
14
12
//! - **Bring proc-macro-like functionality to other contexts like build.rs and
15
13
//! main.rs.** Types from `proc_macro` are entirely specific to procedural
16
14
//! macros and cannot ever exist in code outside of a procedural macro.
@@ -532,8 +530,6 @@ impl Span {
532
530
/// Warning: the underlying [`proc_macro::Span::join`] method is
533
531
/// nightly-only. When called from within a procedural macro not using a
534
532
/// 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
537
533
pub fn join ( & self , other : Span ) -> Option < Span > {
538
534
self . inner . join ( other. inner ) . map ( Span :: _new)
539
535
}
@@ -1296,8 +1292,6 @@ impl Literal {
1296
1292
/// Warning: the underlying [`proc_macro::Literal::subspan`] method is
1297
1293
/// nightly-only. When called from within a procedural macro not using a
1298
1294
/// 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
1301
1295
pub fn subspan < R : RangeBounds < usize > > ( & self , range : R ) -> Option < Span > {
1302
1296
self . inner . subspan ( range) . map ( Span :: _new)
1303
1297
}
You can’t perform that action at this time.
0 commit comments