Skip to content

Commit 8cc448c

Browse files
authored
Merge pull request #1275 from dtolnay/rustdocident
Work around rustdoc regression on Ident
2 parents dce7b9d + d8c3619 commit 8cc448c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ident.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ use crate::token::Token;
99

1010
pub use proc_macro2::Ident;
1111

12+
#[cfg(not(doc))] // rustdoc bug: https://github.com/rust-lang/rust/issues/105735
1213
#[cfg(feature = "parsing")]
1314
#[doc(hidden)]
1415
#[allow(non_snake_case)]

0 commit comments

Comments
 (0)