Skip to content

Commit f611fdb

Browse files
dkorpelmaxhaton
andauthored
Update spec/function.dd
Co-authored-by: Max Haughton <maxhaton@gmail.com>
1 parent 6f647d8 commit f611fdb

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
@@ -1939,7 +1939,7 @@ $(H3 $(LNAME2 ref-return-scope-parameters, Ref Return Scope Parameters))
19391939

19401940
$(P It is not possible to have both `return ref` and `return scope` semantics
19411941
for the same parameter.
1942-
When a parameter is passed by `ref` and has both the `return` and `scope` attributes,
1942+
When a parameter is passed by `ref` and has both the `return` and `scope` storage classes,
19431943
it gets $(LINK2 #return-scope-parameters, `return scope`) semantics if and only if the `return` and `scope`
19441944
keywords appear adjacent to each other, in that order.
19451945
In all other cases, the parameter has $(LINK2 #return-ref-parameters, `return ref`) semantics

0 commit comments

Comments
 (0)