dlang.org icon indicating copy to clipboard operation
dlang.org copied to clipboard

Documentation for std.algorithm.mutation.remove: some code examples look wrong

Open dlangBugzillaToGithub opened this issue 1 year ago • 4 comments

GL reported this on 2024-11-26T17:03:58Z

Transferred from https://issues.dlang.org/show_bug.cgi?id=24885

CC List

  • Richard (Rikki) Andrew Cattermole
  • Nick Treleaven (@ntrel)

Description

Created attachment 1924
wrong-looking code example

Hello,

right now on this page:

https://dlang.org/library/std/algorithm/mutation/remove.html

some code examples look wrong, see attachment screenshot.

!!!There are attachements in the bugzilla issue that have not been copied over!!!

dlangBugzillaToGithub avatar Nov 26 '24 17:11 dlangBugzillaToGithub

alphaglosined commented on 2024-11-27T05:21:49Z

This page was generated by ddox.

It is likely not a bug in the spec.

https://github.com/dlang/ddox

I.e. Ddoc generates this page correctly https://dlang.org/phobos/std_algorithm_mutation.html#remove

dlangBugzillaToGithub avatar Nov 27 '24 05:11 dlangBugzillaToGithub

nick (@ntrel) commented on 2024-11-27T10:41:26Z

Possibly related to:
https://github.com/dlang/ddox/issues/248

dlangBugzillaToGithub avatar Nov 27 '24 10:11 dlangBugzillaToGithub

i want to work on this issue

nilaygit-10721 avatar Mar 08 '25 08:03 nilaygit-10721

@nilaygit-10721 Feel free to go ahead and submit a pull request.

0xEAB avatar Mar 08 '25 18:03 0xEAB