Skip to content

Commit d9fb416

Browse files
committed
Revert doc cfg from Eq impls due to rustdoc bug
1 parent 99be307 commit d9fb416

File tree

5 files changed

+2
-188
lines changed

5 files changed

+2
-188
lines changed

codegen/src/eq.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ fn expand_impl(defs: &Definitions, node: &Node) -> TokenStream {
113113

114114
let eq = quote! {
115115
#cfg_features
116-
#[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))]
116+
// https://github.com/rust-lang/rust/issues/79279
117+
// #[cfg_attr(doc_cfg, doc(cfg(feature = "extra-traits")))]
117118
impl Eq for #ident {}
118119
};
119120

0 commit comments

Comments
 (0)