Skip to content

Commit 8c42472

Browse files
Clarify documentation on enum behavior defaults.
`open` is now the default and should be explicitly set to `closed` if needed. PiperOrigin-RevId: 845199079
1 parent 9787ddf commit 8c42472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/programming-guides/enum.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Prior to the introduction of `syntax = "proto3"` all enums were *closed*. Proto3
8282
and editions use *open* enums specifically because of the unexpected behavior
8383
that *closed* enums cause. You can use
8484
[`features.enum_type`](/editions/features#enum_type) to
85-
explicitly set editions enums to open, if needed.
85+
explicitly set editions enums to closed, if needed.
8686

8787
## Specification {#spec}
8888

0 commit comments

Comments
 (0)