Skip to content

Commit 675b89d

Browse files
authored
1 parent a65a851 commit 675b89d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)