Skip to content

Commit 59d68e8

Browse files
deploy: d6509af
1 parent 8add421 commit 59d68e8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

editions/features/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -473,8 +473,8 @@
473473
</span></span></span><span style=display:flex><span><span style=color:#a40000></span><span style=color:#204a87;font-weight:700>option</span> <span style=color:#000>features.utf8_validation</span> <span style=color:#ce5c00;font-weight:700>=</span> <span style=color:#000>VERIFY</span><span style=color:#000;font-weight:700>;</span><span style=color:#a40000>
474474
</span></span></span><span style=display:flex><span><span style=color:#a40000></span><span style=color:#204a87;font-weight:700>option</span> <span style=color:#000>features.</span><span style=color:#000;font-weight:700>(</span><span style=color:#000>pb.cpp</span><span style=color:#000;font-weight:700>)</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>legacy_closed_enum</span> <span style=color:#ce5c00;font-weight:700>=</span> <span style=color:#204a87;font-weight:700>false</span><span style=color:#000;font-weight:700>;</span><span style=color:#a40000>
475475
</span></span></span><span style=display:flex><span><span style=color:#a40000></span><span style=color:#204a87;font-weight:700>option</span> <span style=color:#000>features.</span><span style=color:#000;font-weight:700>(</span><span style=color:#000>pb.java</span><span style=color:#000;font-weight:700>)</span><span style=color:#ce5c00;font-weight:700>.</span><span style=color:#000>legacy_closed_enum</span> <span style=color:#ce5c00;font-weight:700>=</span> <span style=color:#204a87;font-weight:700>false</span><span style=color:#000;font-weight:700>;</span><span style=color:#a40000>
476-
</span></span></span></code></pre></div><h3 id=2023-2024>Edition 2023 to 2024</h3><p>The following shows the settings to replicate Edition 2023 behavior with Edition
477-
2024.</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/bar_baz.proto
476+
</span></span></span></code></pre></div><h3 id=2023-2024>Edition 2023 to 2024</h3><p>The following shows the settings to replicate Edition 2023 behavior with
477+
Edition 2024.</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/bar_baz.proto
478478
</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>
479479
</span></span></span><span style=display:flex><span><span style=color:#a40000>
480480
</span></span></span><span style=display:flex><span><span style=color:#a40000></span><span style=color:#204a87;font-weight:700>import</span> <span style=color:#204a87;font-weight:700>option</span> <span style=color:#4e9a06>&#34;third_party/protobuf/cpp_features.proto&#34;</span><span style=color:#000;font-weight:700>;</span><span style=color:#a40000>

0 commit comments

Comments
 (0)