Fix typo in "Using the GSL: A Tutorial and FAQ" (#1828)

Duplicated `is` is redundant.
This commit is contained in:
char-lie 2021-09-06 06:25:01 +03:00 committed by GitHub
parent 375d452495
commit c4cdbe369e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ~~~cpp
void process_ints(span<int> s) { void process_ints(span<int> s) {