improve wording

This commit is contained in:
Arpad Borsos
2021-04-19 22:59:23 +02:00
parent 9f8eeca3bf
commit 85879fe83d
2 changed files with 8 additions and 2 deletions

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 },
}