Skip to content

Commit 555440a

Browse files
authored
Merge pull request #1636 from RohanTalip/patch-3
Updated the comment for the return type
2 parents 51d36d2 + 8c3a81d commit 555440a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_tour/basics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ println(add(1, 2)) // 3
145145
```
146146
{% endscalafiddle %}
147147

148-
Notice how the return type is declared _after_ the parameter list and the `: Int`.
148+
Notice how the return type `Int` is declared _after_ the parameter list and a `:`.
149149

150150
A method can take multiple parameter lists:
151151

0 commit comments

Comments
 (0)