Skip to content

Commit 0712ed3

Browse files
authored
Merge pull request #69 from amitsingh-10/patch-1
Rectified `to is not a member of Boolean` error
2 parents ade1fc8 + ce097cf commit 0712ed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/scalatutorial/sections/TermsAndTypes.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ object TermsAndTypes extends ScalaTutorialSection {
143143
* The infix syntax can also be used with regular methods:
144144
*
145145
* {{{
146-
* 1.to(10) == 1 to 10
146+
* 1.to(10) == (1 to 10)
147147
* }}}
148148
*
149149
* Any method with a parameter can be used like an infix operator.

0 commit comments

Comments
 (0)