dlang / ddox

Advanced D documentation engine
MIT License
63 stars 21 forks source link

[topN - multiple declarations] Two autos in documentation #196

Open wilzbach opened 6 years ago

wilzbach commented 6 years ago

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

dayllenger commented 5 years ago

Can someone make a tag and close this issue?