Skip to content

Commit 18d4246

Browse files
authored
Merge pull request #2228 from tshepang/patch-3
follow formatting style guideline
2 parents a65a851 + 675b89d commit 18d4246

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/attributes/type_system.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ For example, the following enum can be cast because it doesn't contain any non-e
176176
#[non_exhaustive]
177177
pub enum Example {
178178
First,
179-
Second
179+
Second,
180180
}
181181
```
182182

@@ -187,7 +187,7 @@ However, if the enum contains even a single non-exhaustive variant, casting will
187187
pub enum EnumWithNonExhaustiveVariants {
188188
First,
189189
#[non_exhaustive]
190-
Second
190+
Second,
191191
}
192192
```
193193

0 commit comments

Comments
 (0)