Skip to content

Commit

Permalink
Merge pull request #1220 from dtolnay/rustdoclink
Browse files Browse the repository at this point in the history
Remove workaround for mod@crate::parse rustdoc links
  • Loading branch information
dtolnay committed Sep 24, 2022
2 parents 3c49303 + 620852b commit 638e967
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
8 changes: 0 additions & 8 deletions src/lib.rs
Expand Up @@ -813,14 +813,6 @@ mod print;

////////////////////////////////////////////////////////////////////////////////

// https://github.com/rust-lang/rust/issues/62830
#[cfg(feature = "parsing")]
mod rustdoc_workaround {
pub use crate::parse::{self as parse_module};
}

////////////////////////////////////////////////////////////////////////////////

mod error;
pub use crate::error::{Error, Result};

Expand Down
4 changes: 2 additions & 2 deletions src/parse_macro_input.rs
Expand Up @@ -4,7 +4,7 @@
/// Refer to the [`parse` module] documentation for more details about parsing
/// in Syn.
///
/// [`parse` module]: crate::rustdoc_workaround::parse_module
/// [`parse` module]: mod@crate::parse
///
/// <br>
///
Expand Down Expand Up @@ -51,7 +51,7 @@
/// This macro can also be used with the [`Parser` trait] for types that have
/// multiple ways that they can be parsed.
///
/// [`Parser` trait]: crate::rustdoc_workaround::parse_module::Parser
/// [`Parser` trait]: crate::parse::Parser
///
/// ```
/// # extern crate proc_macro;
Expand Down

0 comments on commit 638e967

Please sign in to comment.