mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
ES.7 Fix typo, "i" -> "current_element_index"
This commit is contained in:
@@ -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 < current_vector.size();
|
||||||
++current_element_index
|
++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.
|
Yes, it is a caricature, but we have seen worse.
|
||||||
|
|||||||
Reference in New Issue
Block a user