From 926dc085da49018d01aa5cc3cb4b63b7dafd444e Mon Sep 17 00:00:00 2001 From: Hollow Man Date: Sat, 21 Nov 2020 20:19:33 +0800 Subject: [PATCH] Fix typo inferrred -> inferred --- spec-docs/multi-declarations-in-parameters.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec-docs/multi-declarations-in-parameters.md b/spec-docs/multi-declarations-in-parameters.md index 6e7376d1b1e..97f1aefc9de 100644 --- a/spec-docs/multi-declarations-in-parameters.md +++ b/spec-docs/multi-declarations-in-parameters.md @@ -180,7 +180,7 @@ NOTE: function expression can not be passed to a function call outside the paren In a lambda, only parameters (possibly decomposed) and their types can be specified. There's no way to explicitly specify the return type or receiver type. Those have to be inferred, otherwise function expression must be used. -TODO: support qualified returns in lambdas (when return type is unknown, nad has to be inferrred). +TODO: support qualified returns in lambdas (when return type is unknown, nad has to be inferred). ### Nested multi-declarations