Skip to content

Commit 25b657d

Browse files
authored
Update types-and-traits.rst
I removed tihs: Furthermore, the behavior in release mode is under consideration by the The Rust Language Design Team and in the future overflow checking may be turned on by default in release builds (it is a `frequently requested change`_). .. `overflow-checks <https://github.com/rust-lang/rust/blob/master/src/doc/rustc/src/codegen-options/index.md#overflow-checks>`_ .. `frequently requested change <https://lang-team.rust-lang.org/frequently-requested-changes.html#numeric-overflow-checking-should-be-on-by-default-even-in-release-mode>`_ Because it's not building and also because I don't want to reference transient information in the rules. This is something for us as guideline writers to be concerned about and not consumers of this coding standard.
1 parent 1ae4332 commit 25b657d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/coding-guidelines/types-and-traits.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,6 @@ Types and Traits
3232
avoiding potential silent wrap arounds.
3333
Nonetheless, abrupt program termination is not suitable and, therefore, turning this flag on must
3434
not be used as a substitute of explicit handling.
35-
Furthermore, the behavior in release mode is under consideration by the The Rust Language Design Team and in the future overflow checking
36-
may be turned on by default in release builds (it is a `frequently requested change`_).
37-
38-
.. `overflow-checks <https://github.com/rust-lang/rust/blob/master/src/doc/rustc/src/codegen-options/index.md#overflow-checks>`_
39-
.. `frequently requested change <https://lang-team.rust-lang.org/frequently-requested-changes.html#numeric-overflow-checking-should-be-on-by-default-even-in-release-mode>`_
4035

4136
Safety-critical software requires consistent and predictable behavior across all build configurations.
4237
Explicit handling of potential overflow conditions improves code clarity,

0 commit comments

Comments
 (0)