Skip to content

Commit 8add421

Browse files
deploy: 815bd57
1 parent fc92797 commit 8add421

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

editions/features/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
<a href=/editions/overview#export-local><code>export</code> / <code>local</code> Keywords</a>.</p><p><strong>Values available:</strong></p><ul><li><code>EXPORT_ALL</code>: This is the default prior to Edition 2024. All messages and
5959
enums are exported by default.</li><li><code>EXPORT_TOP_LEVEL</code>: All top-level symbols default to export; nested default
6060
to local.</li><li><code>LOCAL_ALL</code>: All symbols default to local.</li><li><code>STRICT</code>: All symbols local by default. Nested types cannot be exported,
61-
except for a special-case caveat for <code>message { enum {} reserved 0 to max; }</code>. This will become the default in a future edition.</li></ul><p><strong>Applicable to the following scope:</strong> file</p><p><strong>Added in:</strong> Edition 2024</p><p><strong>Default behavior per syntax/edition:</strong></p><table><thead><tr><th>Syntax/edition</th><th>Default</th></tr></thead><tbody><tr><td>2024</td><td><code>EXPORT_TOP_LEVEL</code></td></tr><tr><td>2023</td><td><code>EXPORT_ALL</code></td></tr><tr><td>proto3</td><td><code>EXPORT_ALL</code></td></tr><tr><td>proto2</td><td><code>EXPORT_ALL</code></td></tr></tbody></table><p><strong>Note:</strong> Feature settings on different schema elements
61+
except for a special-case caveat for <code>message { enum {} reserved 1 to max; }</code>. This will become the default in a future edition.</li></ul><p><strong>Applicable to the following scope:</strong> file</p><p><strong>Added in:</strong> Edition 2024</p><p><strong>Default behavior per syntax/edition:</strong></p><table><thead><tr><th>Syntax/edition</th><th>Default</th></tr></thead><tbody><tr><td>2024</td><td><code>EXPORT_TOP_LEVEL</code></td></tr><tr><td>2023</td><td><code>EXPORT_ALL</code></td></tr><tr><td>proto3</td><td><code>EXPORT_ALL</code></td></tr><tr><td>proto2</td><td><code>EXPORT_ALL</code></td></tr></tbody></table><p><strong>Note:</strong> Feature settings on different schema elements
6262
<a href=#cascading>have different scopes</a>.</p><p>The following sample shows how you can apply the feature to elements in your
6363
proto schema definition files:</p><div class=highlight><pre tabindex=0 style=background-color:#f8f8f8;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-proto data-lang=proto><span style=display:flex><span><span style=color:#8f5902;font-style:italic>// foo.proto
6464
</span></span></span><span style=display:flex><span><span style=color:#8f5902;font-style:italic></span><span style=color:#000>edition</span> <span style=color:#ce5c00;font-weight:700>=</span> <span style=color:#4e9a06>&#34;2024&#34;</span><span style=color:#000;font-weight:700>;</span><span style=color:#a40000>

0 commit comments

Comments
 (0)