Skip to content

Commit 2728dd5

Browse files
committed
fix some redirects
1 parent e4c60b7 commit 2728dd5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_tour/by-name-parameters.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ previous-page: operators
99

1010
redirect_from: "/tutorials/tour/by-name-parameters.html"
1111
redirect_from: "/tutorials/tour/automatic-closures.html"
12+
redirect_from: "/tour/by-name-parameters.html"
13+
redirect_from: "/tour/automatic-closures.html"
1214
---
1315

1416
_By-name parameters_ are evaluated every time they are used. They won't be evaluated at all if they are unused. This is similar to replacing the by-name parameters with the passed expressions. They are in contrast to _by-value parameters_. To make a parameter called by-name, simply prepend `=>` to its type.

0 commit comments

Comments
 (0)