ddox icon indicating copy to clipboard operation
ddox copied to clipboard

[topN - multiple declarations] Two autos in documentation

Open wilzbach opened this issue 8 years ago • 1 comments

From https://issues.dlang.org/show_bug.cgi?id=18330

auto auto topN(alias less, SwapStrategy ss = SwapStrategy.unstable, Range) (
  Range r,
  size_t nth
)
if (isRandomAccessRange!Range && hasLength!Range && hasSlicing!Range);

It has two autos listed even though the source code has one auto.

https://dlang.org/phobos/std_algorithm_sorting.html#.topN https://dlang.org/library/std/algorithm/sorting/top_n.html

wilzbach avatar Feb 03 '18 15:02 wilzbach

Can someone make a tag and close this issue?

dayllenger avatar May 05 '19 07:05 dayllenger