File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -451,7 +451,7 @@ function hideThemeButtonState() {
451451 // The element is not visible, we need to make it appear!
452452 collapseDocs ( collapses [ 0 ] , "show" ) ;
453453 }
454- // In case this is a sub-variant, toggle the <details> open .
454+ // Open all ancestor <details> to make this element visible .
455455 openParentDetails ( h3 . parentNode ) ;
456456 }
457457 }
Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ pub struct Foo;
2929
3030impl Foo {
3131 #[ must_use]
32- pub fn must_use ( & self ) -> bool { true }
32+ pub fn must_use ( & self ) -> bool {
33+ true
34+ }
3335}
3436
3537/// Just a normal enum.
@@ -85,3 +87,7 @@ pub trait AnotherOne {
8587/// let x = 12;
8688/// ```
8789pub fn check_list_code_block ( ) { }
90+
91+ pub enum AnEnum {
92+ WithVariants { and : usize , sub : usize , variants : usize } ,
93+ }
You can’t perform that action at this time.
0 commit comments