mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-04-27 07:33:57 +00:00
scala: language correction
This commit is contained in:
parent
496b11f8ce
commit
9ddf69a14d
@ -5,6 +5,7 @@ contributors:
|
|||||||
- ["George Petrov", "http://github.com/petrovg"]
|
- ["George Petrov", "http://github.com/petrovg"]
|
||||||
- ["Dominic Bou-Samra", "http://dbousamra.github.com"]
|
- ["Dominic Bou-Samra", "http://dbousamra.github.com"]
|
||||||
- ["Geoff Liu", "http://geoffliu.me"]
|
- ["Geoff Liu", "http://geoffliu.me"]
|
||||||
|
- ["Ha-Duong Nguyen", "http://reference-error.org"]
|
||||||
filename: learn.scala
|
filename: learn.scala
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -33,10 +34,10 @@ Scala - the scalable language
|
|||||||
// 1. Basics
|
// 1. Basics
|
||||||
/////////////////////////////////////////////////
|
/////////////////////////////////////////////////
|
||||||
|
|
||||||
// Single line comments start with two forward slashes
|
// Single-line comments start with two forward slashes
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Multi line comments, as you can already see from above, look like this.
|
Multi-line comments, as you can already see from above, look like this.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Printing, and forcing a new line on the next print
|
// Printing, and forcing a new line on the next print
|
||||||
|
Loading…
Reference in New Issue
Block a user