Skip to content

Commit 5d2762f

Browse files
Update examples/repeated_chars_iterator.cpp
Co-authored-by: Radu Nichita <[email protected]>
1 parent d23b7b0 commit 5d2762f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/repeated_chars_iterator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ int main() {
5050
constexpr const std::string_view target = "foo";
5151
constexpr const auto len = 7; // Number of extracted characters from the sequence.
5252

53-
// Create iterators that iterate over the sequence "foofoofoofoofoofoo...".
53+
// Create iterators that go over the sequence "foofoofoofoofoofoo...".
5454
repeated_chars_iterator it_first(target.data(), target.size(), 0); // target.size() == 3 is the length of "foo", 0 is this iterator's position.
5555
repeated_chars_iterator it_last(target.data(), target.size(), len); // Same as above, but now the iterator's position is 7.
5656

0 commit comments

Comments
 (0)