You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: programming-guides/enum/index.html
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@
29
29
represents <code>2</code>.</li><li><strong>Closed</strong> enums will parse the value <code>2</code> and store it in the message’s
30
30
unknown field set. Accessors will report the field as being <em>unset</em> and will
31
31
return the enum’s default value.</li></ul><h2id=implications-of-closed-enums>Implications of <em>Closed</em> Enums</h2><p>The behavior of <em>closed</em> enums has unexpected consequences when parsing a
32
-
repeated field. When a <code>repeated Enum</code> field is parsed all unknown values will
32
+
repeated field. When a <code>repeated Enum</code> field is parsed, all unknown values will
0 commit comments