mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
ES.7 Fix typo, "i" -> "current_element_index"
This commit is contained in:
parent
aab97d9e48
commit
db85ec865d
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user