File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -451,7 +451,7 @@ function hideThemeButtonState() {
451
451
// The element is not visible, we need to make it appear!
452
452
collapseDocs ( collapses [ 0 ] , "show" ) ;
453
453
}
454
- // In case this is a sub-variant, toggle the <details> open .
454
+ // Open all ancestor <details> to make this element visible .
455
455
openParentDetails ( h3 . parentNode ) ;
456
456
}
457
457
}
Original file line number Diff line number Diff line change @@ -29,7 +29,9 @@ pub struct Foo;
29
29
30
30
impl Foo {
31
31
#[ must_use]
32
- pub fn must_use ( & self ) -> bool { true }
32
+ pub fn must_use ( & self ) -> bool {
33
+ true
34
+ }
33
35
}
34
36
35
37
/// Just a normal enum.
@@ -85,3 +87,7 @@ pub trait AnotherOne {
85
87
/// let x = 12;
86
88
/// ```
87
89
pub 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