File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -269,8 +269,8 @@ which looks at the right-hand side of these methods and deduces that
269269both return a value of type ` Double ` .
270270
271271The compiler is not always able to infer types like it does here, and
272- there is unfortunately no simple rule to know exactly when it will be,
273- and when not . In practice, this is usually not a problem since the
272+ there is unfortunately no simple rule to know exactly when it will be
273+ able to . In practice, this is usually not a problem since the
274274compiler complains when it is not able to infer a type which was not
275275given explicitly. As a simple rule, beginner Scala programmers should
276276try to omit type declarations which seem to be easy to deduce from the
You can’t perform that action at this time.
0 commit comments