From a90dd162e245f5e9069bde501673ffe440850341 Mon Sep 17 00:00:00 2001 From: Manish Bansal Date: Tue, 7 Jul 2020 21:06:32 +0530 Subject: [PATCH] Fix grammer --- _tour/type-inference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_tour/type-inference.md b/_tour/type-inference.md index 7599ef9f59..38b8295eda 100644 --- a/_tour/type-inference.md +++ b/_tour/type-inference.md @@ -54,7 +54,7 @@ The parameter for map is `f: A => B`. Because we put integers in the `Seq`, the ## When _not_ to rely on type inference -It is generally considered more readable to declare the type of members exposed in a public API. Therefore, we recommended that you make the type explicit for any APIs that will be exposed to users of your code. +It is generally considered more readable to declare the type of members exposed in a public API. Therefore, we recommend that you make the type explicit for any APIs that will be exposed to users of your code. Also, type inference can sometimes infer a too-specific type. Suppose we write: