File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 1+ // This test ensures that the item information don't take 100% of the width if unnecessary.
2+ goto: file://|DOC_PATH|/lib2/struct.Foo.html
3+ // We set a fixed size so there is no chance of "random" resize.
4+ size: (1100, 800)
5+ // We check that ".item-info" is bigger than its content.
6+ assert-css: (".item-info", {"width": "807px"})
7+ assert-css: (".item-info .stab", {"width": "343px"})
Original file line number Diff line number Diff line change 11// ignore-tidy-linelength
22
3+ #![ feature( doc_cfg) ]
4+
35pub mod module {
46 pub mod sub_module {
57 pub mod sub_sub_module {
@@ -14,6 +16,7 @@ pub fn foobar() {}
1416
1517pub type Alias = u32 ;
1618
19+ #[ doc( cfg( feature = "foo-method" ) ) ]
1720pub struct Foo {
1821 pub x : Alias ,
1922}
You can’t perform that action at this time.
0 commit comments