diff --git a/spec/function.dd b/spec/function.dd index 9019ebc9ac..3c9e156cfc 100644 --- a/spec/function.dd +++ b/spec/function.dd @@ -1446,7 +1446,7 @@ $(H3 $(LNAME2 in-params, In Parameters)) $(B Note: The following requires the $(D -preview=in) switch$(COMMA) available in $(LINK2 $(ROOT_DIR)changelog/2.094.0.html#preview-in, v2.094.0) or higher. - When not in use, `in` is equivalent to `const`.) + When not in use, `in` is either equivalent to `const`, or `const scope` if $(D preview=dip1000) is used.) $(P The parameter is an input to the function. Input parameters behave as if they have the $(D const scope) storage classes. Input parameters may also be passed by reference by the compiler.) $(P Unlike $(D ref) parameters$(COMMA) $(D in) parameters can bind to both lvalues and rvalues