We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
to is not a member of Boolean
1 parent 8a55584 commit ce097cfCopy full SHA for ce097cf
src/main/scala/scalatutorial/sections/TermsAndTypes.scala
@@ -143,7 +143,7 @@ object TermsAndTypes extends ScalaTutorialSection {
143
* The infix syntax can also be used with regular methods:
144
*
145
* {{{
146
- * 1.to(10) == 1 to 10
+ * 1.to(10) == (1 to 10)
147
* }}}
148
149
* Any method with a parameter can be used like an infix operator.
0 commit comments