Skip to content

Commit d40988c

Browse files
Update Enumerations.scala
1 parent 8a3e8ff commit d40988c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/scala/stdlib/Enumerations.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ object Enumerations extends AnyFlatSpec with Matchers with org.scalaexercises.de
2626

2727
/** To create an enumeration, create an object that extends the abstract class `Enumeration`, and set a `val` variable to the method `Value`. This is a trick to give values to each `val`.
2828
*
29-
* `Value` assigns a numerical value to fields:
29+
* `Value` assigns a numerical value to fields, indexed from 0:
3030
*/
3131
def createEnumerationEnumerations(
3232
res0: Int,

0 commit comments

Comments
 (0)