[Issue 18330] New: [topN - multiple declarations] Two autos in documentation

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 30 02:42:52 UTC 2018


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

          Issue ID: 18330
           Summary: [topN - multiple declarations] Two autos in
                    documentation
           Product: D
           Version: D2
          Hardware: All
               URL: http://dlang.org/library/std/algorithm/sorting.html
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: phobos
          Assignee: nobody at puremagic.com
          Reporter: john.michael.hall at gmail.com

On the website, the documentation is showing up as 


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.

--


More information about the Digitalmars-d-bugs mailing list