Skip to content

Commit 524c478

Browse files
committed
spec/function.dd: Remove "ref" from "return ref"
Return-ref parameters don't need to specifically be declared with the exact token sequence "return ref". For example, "ref return" also works, as does e.g. "return scope int* a".
1 parent 115e239 commit 524c478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/function.dd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ $(GNAME InOut):
5656
$(D lazy)
5757
$(D out)
5858
$(D ref)
59-
$(RELATIVE_LINK2 return-ref-parameters, $(D return ref))
59+
$(RELATIVE_LINK2 return-ref-parameters, $(D return))
6060
$(D scope)
6161

6262
$(GNAME VariadicArgumentsAttributes):

0 commit comments

Comments
 (0)