Skip to content

Commit

Permalink
Update iterators.md (#3481)
Browse files Browse the repository at this point in the history
  • Loading branch information
prncoprs authored May 10, 2022
1 parent 3af932e commit 7cef6e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/mkdocs/docs/features/iterators.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ for (auto& [key, val] : j_object.items())
```cpp
json j = {1, 2, 3, 4};

for (auto it = j.begin(); it != j.end(); ++it)
for (auto it = j.rbegin(); it != j.rend(); ++it)
{
std::cout << *it << std::endl;
}
Expand Down

0 comments on commit 7cef6e7

Please sign in to comment.