Skip to content

Commit

Permalink
Fix typo in "Using the GSL: A Tutorial and FAQ" (isocpp#1828)
Browse files Browse the repository at this point in the history
Duplicated `is` is redundant.
  • Loading branch information
definability authored Sep 6, 2021
1 parent 375d452 commit c4cdbe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/gsl-intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ void dangerous_process_ints(int* p, size_t n) {
}
~~~

A `span` supports range-`for` -- note this is zero-overhead and does not need to perform any range check, because the range-`for` loop is is known by construction not to exceed the range's bounds:
A `span` supports range-`for` -- note this is zero-overhead and does not need to perform any range check, because the range-`for` loop is known by construction not to exceed the range's bounds:

~~~cpp
void process_ints(span<int> s) {
Expand Down

0 comments on commit c4cdbe3

Please sign in to comment.