book: typo fixes (#249)

This commit is contained in:
stephen9357
2022-09-09 02:20:43 +08:00
committed by GitHub
parent 237c990510
commit 8182184f2a
2 changed files with 2 additions and 2 deletions

View File

@@ -222,7 +222,7 @@ int main() {
In the above code, we can see that the `itr` variable is defined in the scope of
the entire `main()`, which causes us to rename the other when a variable need to traverse
the entire `std::vectors` again. C++17 eliminates this limitation so that
the entire `std::vector` again. C++17 eliminates this limitation so that
we can do this in if(or switch):
```cpp