Skip to content

Commit 8c4aedc

Browse files
committed
Correct the example code
1 parent bf6c142 commit 8c4aedc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

active/0000-remove-priv.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ remaining case, private enum variants, can be rewritten as such:
1919
// priv Baz,
2020
// }
2121

22-
enum Foo {
22+
pub enum Foo {
2323
Bar,
2424
Baz(BazInner)
2525
}

0 commit comments

Comments
 (0)