Skip to content

Commit 638e967

Browse files
authored
Merge pull request #1220 from dtolnay/rustdoclink
Remove workaround for mod@crate::parse rustdoc links
2 parents 3c49303 + 620852b commit 638e967

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

src/lib.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -813,14 +813,6 @@ mod print;
813813

814814
////////////////////////////////////////////////////////////////////////////////
815815

816-
// https://github.com/rust-lang/rust/issues/62830
817-
#[cfg(feature = "parsing")]
818-
mod rustdoc_workaround {
819-
pub use crate::parse::{self as parse_module};
820-
}
821-
822-
////////////////////////////////////////////////////////////////////////////////
823-
824816
mod error;
825817
pub use crate::error::{Error, Result};
826818

src/parse_macro_input.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
/// Refer to the [`parse` module] documentation for more details about parsing
55
/// in Syn.
66
///
7-
/// [`parse` module]: crate::rustdoc_workaround::parse_module
7+
/// [`parse` module]: mod@crate::parse
88
///
99
/// <br>
1010
///
@@ -51,7 +51,7 @@
5151
/// This macro can also be used with the [`Parser` trait] for types that have
5252
/// multiple ways that they can be parsed.
5353
///
54-
/// [`Parser` trait]: crate::rustdoc_workaround::parse_module::Parser
54+
/// [`Parser` trait]: crate::parse::Parser
5555
///
5656
/// ```
5757
/// # extern crate proc_macro;

0 commit comments

Comments
 (0)