Skip to content

Commit 96dcd21

Browse files
committed
range to 200
1 parent 2dfef86 commit 96dcd21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/coroutines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ for (int i : range(0, 10)) {
140140
This will log numbers 0 through 9. Generators have a `begin()` and `end()` function that returns an STL-compatible iterator, meaning you can use them with any read-only standard library function that takes in an iterator:
141141

142142
```cpp
143-
auto gen = range(0, 6);
143+
auto gen = range(0, 200);
144144
auto sum = std::accumulate(gen.begin(), gen.end(), 0, std::plus()); // Sums all numbers from 0 to 199
145145
```
146146

0 commit comments

Comments
 (0)