From c83acbc3470ad3c47d25a6e81c2764265002a2fe Mon Sep 17 00:00:00 2001 From: Amir Livneh Date: Tue, 26 Feb 2019 17:29:57 -0500 Subject: [PATCH] Fix comment grammar in ES.40 example (#1345) --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 58ceefa..f4be493 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -11137,7 +11137,7 @@ Complicated expressions are error-prone. // bad: assignment hidden in subexpression while ((c = getc()) != -1) - // bad: two non-local variables assigned in a sub-expressions + // bad: two non-local variables assigned in sub-expressions while ((cin >> c1, cin >> c2), c1 == c2) // better, but possibly still too complicated