diff options
Diffstat (limited to 'doc/manual.md')
-rw-r--r-- | doc/manual.md | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/doc/manual.md b/doc/manual.md index 850a04b0d..042773bcb 100644 --- a/doc/manual.md +++ b/doc/manual.md @@ -3816,15 +3816,6 @@ every time the function is called. proc foo(a: int, b: int = 47): int ``` -Just as the comma propagates the types from right to left until the -first parameter or until a semicolon is hit, it also propagates the -default value starting from the parameter declared with it. - - ```nim - # Both a and b are optional with 47 as their default values. - proc foo(a, b: int = 47): int - ``` - Parameters can be declared mutable and so allow the proc to modify those arguments, by using the type modifier `var`. |