Skip to content

Commit a2f0bc4

Browse files
committed
fixup: minor typos
1 parent 2b0ef93 commit a2f0bc4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/algorithms.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1132,10 +1132,10 @@
11321132
search(ForwardIterator first, ForwardIterator last, const Searcher& searcher);
11331133

11341134
namespace ranges {
1135-
// \ref{alg.starts.with}, starts_with
1135+
// \ref{alg.starts.with}, starts with
11361136
template<@\libconcept{input_iterator}@ I1, @\libconcept{sentinel_for}@<I1> S1, @\libconcept{input_iterator}@ I2, @\libconcept{sentinel_for}@<I2> S2,
11371137
class Pred = ranges::equal_to, class Proj1 = identity, class Proj2 = identity>
1138-
requires indirectly_comparable<I1, I2, Pred, Proj1, Proj2>
1138+
requires @\libconcept{indirectly_comparable}@<I1, I2, Pred, Proj1, Proj2>
11391139
constexpr bool starts_with(I1 first1, S1 last1, I2 first2, S2 last2, Pred pred = {},
11401140
Proj1 proj1 = {}, Proj2 proj2 = {});
11411141
template<@\libconcept{input_range}@ R1, @\libconcept{input_range}@ R2, class Pred = ranges::equal_to,
@@ -1144,7 +1144,7 @@
11441144
constexpr bool starts_with(R1&& r1, R2&& r2, Pred pred = {},
11451145
Proj1 proj1 = {}, Proj2 proj2 = {});
11461146

1147-
// \ref{alg.ends.with}, ends_with
1147+
// \ref{alg.ends.with}, ends with
11481148
template<@\libconcept{input_iterator}@ I1, @\libconcept{sentinel_for}@<I1> S1, @\libconcept{input_iterator}@ I2, @\libconcept{sentinel_for}@<I2> S2,
11491149
class Pred = ranges::equal_to, class Proj1 = identity, class Proj2 = identity>
11501150
requires (@\libconcept{forward_iterator}@<I1> || @\libconcept{sized_sentinel_for}@<S1, I1>) &&

0 commit comments

Comments
 (0)