Skip to content

Commit

Permalink
[faq] typo
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims authored Mar 6, 2024
1 parent 3d9e791 commit f91a374
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion faq/basic_concepts/c_array.rst
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ C 风格数组 **很容易很容易很容易** 隐式类型转换为指向首元
:linenos:
void print(int const* begin, int const* end) {
for (; begin != begin; ++begin) {
for (; begin != end; ++begin) {
std::cout << *begin << ' ';
}
std::cout << '\n';
Expand Down

0 comments on commit f91a374

Please sign in to comment.