AtomicScala / atomic-scala-corrections

Find out about or report corrections for the book "Atomic Scala"
http://www.atomicscala.com
6 stars 2 forks source link

Pg75 - #48

Open sidnt opened 8 years ago

sidnt commented 8 years ago

First para, 2nd line goes:

Note that declaring arguments is just like declaring vals: the argument name, a colon, and the type returned from the method.

Does the last clause ( "type returned from the method" ) belong to the context of the sentence, which is about method arguments' declaration being like vals' declaration ?