improve wording

This commit is contained in:
Arpad Borsos 2021-04-19 22:59:23 +02:00
parent 9f8eeca3bf
commit 85879fe83d
No known key found for this signature in database
GPG Key ID: FC7BCA77824B3298
2 changed files with 8 additions and 2 deletions

View File

@ -451,7 +451,7 @@ function hideThemeButtonState() {
// The element is not visible, we need to make it appear!
collapseDocs(collapses[0], "show");
}
// In case this is a sub-variant, toggle the <details> open.
// Open all ancestor <details> to make this element visible.
openParentDetails(h3.parentNode);
}
}

View File

@ -29,7 +29,9 @@ pub struct Foo;
impl Foo {
#[must_use]
pub fn must_use(&self) -> bool { true }
pub fn must_use(&self) -> bool {
true
}
}
/// Just a normal enum.
@ -85,3 +87,7 @@ pub trait AnotherOne {
/// let x = 12;
/// ```
pub fn check_list_code_block() {}
pub enum AnEnum {
WithVariants { and: usize, sub: usize, variants: usize },
}