From db85ec865d937f499979a2cb7d9d718c3771fb12 Mon Sep 17 00:00:00 2001 From: Doan Tran Cong Danh Date: Fri, 7 Oct 2016 17:57:18 +0700 Subject: [PATCH] ES.7 Fix typo, "i" -> "current_element_index" --- CppCoreGuidelines.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index c3030cf..204f48a 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -8952,7 +8952,7 @@ An index is conventionally called `i` and there is no hint about the meaning of current_element_index < current_vector.size(); ++current_element_index ) - target_stream << current_vector[i] << '\n'; + target_stream << current_vector[current_element_index] << '\n'; } Yes, it is a caricature, but we have seen worse.