Skip to content

Commit 7da1a03

Browse files
authored
Merge pull request #2126 from carblue/spec_function
Parameter storage class in is an equivalent of const currently; see a… merged-on-behalf-of: MetaLang <MetaLang@users.noreply.github.com>
2 parents 4e07e9f + 71ad1b3 commit 7da1a03

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
@@ -1180,7 +1180,7 @@ int foo(in int x, out int y, ref int z, int q);
11801180
$(THEAD Storage Class, Description)
11811181
$(TROW $(I none), parameter becomes a mutable copy of its argument)
11821182

1183-
$(TROW $(D in), equivalent to $(D const scope))
1183+
$(TROW $(D in), equivalent to $(D const))
11841184
$(TROW $(D out), parameter is initialized upon function entry with the default value
11851185
for its type)
11861186

0 commit comments

Comments
 (0)