Wrong layout in __inout parameter__ concept introduction: still not fixed

if you search exercism/warning on github.com/exercism, it gives just 8 mentions, while searching exercism/note and exercism/caution gives >100. so i think it just doesn’t understand warning

yet point 1 isn’t very clear that it’s about ownership and such, even in context of point 2. it sounds like “you can accept an inout parameter, yet you can’t use it” instead of “don’t alias the variable and its inout version in the same function”. we probably also need an example for it?

my pr: https://github.com/exercism/swift/pull/902

1 Like

exercism/warning isn’t supported per https://exercism.org/docs/building/markdown/markdown#h-special-blocks-sometimes-called-admonitions so it just shows as the code block as seen in your screenshot. That block probably should be exercism/caution so that part of the PR makes sense.

For the second half, did you want to propose a change to the text for those two points? That could help the maintainer gauge what needs to be done.

upd: added attempt to rephrase point 1

my forked branch: GitHub - kawazaki42/pr-exercism-swift: Exercism exercises in Swift. · GitHub

(not visible in pr)

added example tested locally seems to be correct

hopefully didn’t break anything (i constantly do)