Bug 24659 – Memory safe D page lacks information on return ref
Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2024-07-12T13:16:59Z
Last change time
2024-07-13T16:18:52Z
Keywords
pull
Assigned to
No Owner
Creator
Richard (Rikki) Andrew Cattermole
Comments
Comment #0 by alphaglosined — 2024-07-12T13:16:59Z
The ``return ref`` attributes (in that order) are lacking documentation on the web page memory-safe-d that should cover it.
https://dlang.org/spec/memory-safe-d.html
Comment #1 by dlang-bot — 2024-07-12T17:12:12Z
@ntrel created dlang/dlang.org pull request #3878 "[spec/memory-safe-d] Improve `return` attribute docs" fixing this issue:
- [spec/memory-safe-d] Improve `return` attribute docs
Fix Bugzilla 24659 - Memory safe D page lacks information on return ref.
Reword `return scope` docs (before this was just listed as `return`).
Move sentence about constructor `return` attribute after method attribute.
https://github.com/dlang/dlang.org/pull/3878
Comment #2 by dlang-bot — 2024-07-13T16:18:52Z
dlang/dlang.org pull request #3878 "[spec/memory-safe-d] Improve `return` attribute docs" was merged into master:
- ef99e9317c7642f9ac39a4ef78f2bc110bce0bda by Nick Treleaven:
[spec/memory-safe-d] Improve `return` attribute docs
Fix Bugzilla 24659 - Memory safe D page lacks information on return ref.
Reword `return scope` docs (before this was just listed as `return`).
Move sentence about constructor `return` attribute after method attribute.
https://github.com/dlang/dlang.org/pull/3878