Skip to content

Commit 935cf71

Browse files
deploy: ddd0227
1 parent 20591eb commit 935cf71

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

programming-guides/enum/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
represents <code>2</code>.</li><li><strong>Closed</strong> enums will parse the value <code>2</code> and store it in the message&rsquo;s
3030
unknown field set. Accessors will report the field as being <em>unset</em> and will
3131
return the enum&rsquo;s default value.</li></ul><h2 id=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
3333
be placed in the
3434
<a href=/programming-guides/proto3/#unknowns>unknown field</a>
3535
set. When it is serialized those unknown values will be written again, <em>but not

0 commit comments

Comments
 (0)