Avoid pseudo-list markers in proposals/p000162-basic-syntax.md (#7641)

Change '1)' and '2)' to '(1)' and '(2)' to prevent the reflow engine
from treating them as ordered list markers when the paragraph is
wrapped.

Assisted-by: Antigravity with Gemini
This commit is contained in:
Chandler Carruth
2026-08-17 20:31:30 +00:00
committed by GitHub
parent b13f0ddaf5
commit 1e6d554cb6
+1 -1
View File
@@ -464,7 +464,7 @@ that to a later proposal.
In this proposal, assignment is a statement. It could instead be an expression
as it is in C and C++. The arguments against assignment-as-an-expression
include 1) it complicates reasoning about the ordering of side-effects and 2) it
include (1) it complicates reasoning about the ordering of side-effects and (2) it
can cause confusion between `=` and `==`
[(SEI CERT C Coding Standard)](https://wiki.sei.cmu.edu/confluence/display/c/EXP45-C.+Do+not+perform+assignments+in+selection+statements)
[Visual Studio Warning](https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/compiler-warning-level-4-c4706?view=vs-2019).