Skip to content

Commit 67f1175

Browse files
Fix grammer (#1734)
1 parent a933b12 commit 67f1175

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_tour/type-inference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The parameter for map is `f: A => B`. Because we put integers in the `Seq`, the
5454

5555
## When _not_ to rely on type inference
5656

57-
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.
57+
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.
5858

5959
Also, type inference can sometimes infer a too-specific type. Suppose we write:
6060

0 commit comments

Comments
 (0)