We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b40bd5a commit 97cd30dCopy full SHA for 97cd30d
src/librustdoc/html/render/print_item.rs
@@ -139,7 +139,10 @@ fn should_hide_fields(n_fields: usize) -> bool {
139
fn toggle_open(w: &mut Buffer, text: &str) {
140
write!(
141
w,
142
- "<details class=\"rustdoc-toggle type-contents-toggle\"><summary class=\"hideme\"><span>Show {}</span></summary>",
+ "<details class=\"rustdoc-toggle type-contents-toggle\">\
143
+ <summary class=\"hideme\">\
144
+ <span>Show {}</span>\
145
+ </summary>",
146
text
147
);
148
}
0 commit comments