File tree 3 files changed +31
-1
lines changed
librustdoc/html/static/css
3 files changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -777,7 +777,7 @@ pre, .rustdoc.source .example-wrap {
777
777
.content .docblock > .impl-items table td {
778
778
padding : 0 ;
779
779
}
780
- .content .docblock > .impl-items .table-display , . impl-items table td {
780
+ .content .docblock > .impl-items .table-display {
781
781
border : none;
782
782
}
783
783
Original file line number Diff line number Diff line change
1
+ goto: file://|DOC_PATH|/test_docs/doc_block_table/struct.DocBlockTable.html#method.func
2
+
3
+ compare-elements-css: (".impl-items .docblock table th", ".top-doc .docblock table th", ["border"])
4
+ compare-elements-css: (".impl-items .docblock table td", ".top-doc .docblock table td", ["border"])
Original file line number Diff line number Diff line change @@ -293,3 +293,29 @@ pub mod details {
293
293
/// </details>
294
294
pub struct Details ;
295
295
}
296
+
297
+ pub mod doc_block_table {
298
+
299
+ pub trait DocBlockTableTrait {
300
+ fn func ( ) ;
301
+ }
302
+
303
+ /// Struct doc.
304
+ ///
305
+ /// | header1 | header2 |
306
+ /// |--------------------------|--------------------------|
307
+ /// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum |
308
+ pub struct DocBlockTable { }
309
+
310
+ impl DocBlockTableTrait for DocBlockTable {
311
+ /// Trait impl func doc for struct.
312
+ ///
313
+ /// | header1 | header2 |
314
+ /// |--------------------------|--------------------------|
315
+ /// | Lorem Ipsum, Lorem Ipsum | Lorem Ipsum, Lorem Ipsum |
316
+ fn func ( ) {
317
+ println ! ( ) ;
318
+ }
319
+ }
320
+
321
+ }
You can’t perform that action at this time.
0 commit comments