mirror of
https://github.com/dlang/phobos.git
synced 2025-04-29 22:50:38 +03:00
[std.algorithm.searching] Fix 2 typos in docs (#8728)
This commit is contained in:
parent
17b1a11afd
commit
72da991685
1 changed files with 2 additions and 2 deletions
|
@ -1313,8 +1313,8 @@ returned.
|
|||
Params:
|
||||
map = custom accessor for the comparison key
|
||||
selector = custom mapping for the extrema selection
|
||||
seed = custom seed to use as initial element
|
||||
r = Range from which the extreme value will be selected
|
||||
seedElement = custom seed to use as initial element
|
||||
|
||||
Returns:
|
||||
The extreme value according to `map` and `selector` of the passed-in values.
|
||||
|
@ -1552,7 +1552,7 @@ Complexity:
|
|||
`find` performs $(BIGOH walkLength(haystack)) evaluations of `pred`.
|
||||
There are specializations that improve performance by taking
|
||||
advantage of $(REF_ALTTEXT bidirectional, isBidirectionalRange, std,range,primitives)
|
||||
or $(REF_ALTTEXT random access, isRandomAccess, std,range,primitives)
|
||||
or $(REF_ALTTEXT random access, isRandomAccessRange, std,range,primitives)
|
||||
ranges (where possible).
|
||||
|
||||
Params:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue