From 1e6d554cb6c2389fc25a8ba9c52638c73284d70e Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Mon, 17 Aug 2026 20:31:30 +0000 Subject: [PATCH] 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 --- proposals/p000162-basic-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proposals/p000162-basic-syntax.md b/proposals/p000162-basic-syntax.md index d2d64346c2a4..b7aa8930d69a 100644 --- a/proposals/p000162-basic-syntax.md +++ b/proposals/p000162-basic-syntax.md @@ -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).