mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Merge pull request #766 from congdanhqx/master
ES.7 Fix typo, "i" -> "current_element_index"
This commit is contained in:
commit
173b036e51
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user