Skip to content

Commit

Permalink
fix Issue 3084 - Formatting of lazy in parameters section
Browse files Browse the repository at this point in the history
  • Loading branch information
WalterBright committed Jan 23, 2012
1 parent 341a8f7 commit 526f997
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions function.dd
Original file line number Diff line number Diff line change
Expand Up @@ -737,9 +737,9 @@ def(z);
apply only to the reference and not the contents.
)

$(P Lazy arguments are evaluated not when the function is called,
$(P $(D lazy) arguments are evaluated not when the function is called,
but when the parameter is evaluated within the function. Hence,
a lazy argument can be executed 0 or more times. A lazy parameter
a $(D lazy) argument can be executed 0 or more times. A $(D lazy) parameter
cannot be an lvalue.)

---
Expand All @@ -762,7 +762,7 @@ $(CONSOLE
2
)

$(P A lazy parameter of type $(TT void) can accept an argument
$(P A $(D lazy) parameter of type $(D void) can accept an argument
of any type.)

<h3>Function Default Arguments</h3>
Expand Down

0 comments on commit 526f997

Please sign in to comment.