Skip to content
Browse files

SI-7859 fix AnyVal.scala scaladoc.

Value class member need not be public in 2.11+
  • Loading branch information...
1 parent 4e4c151 commit 7f16e4d1c506960870a517ab13798a332ded62a9 @xuwei-k xuwei-k committed Jan 9, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/library/scala/AnyVal.scala
View
2 src/library/scala/AnyVal.scala
@@ -33,7 +33,7 @@ package scala
*
* User-defined value classes which avoid object allocation...
*
- * - must have a single, public `val` parameter that is the underlying runtime representation.
+ * - must have a single `val` parameter that is the underlying runtime representation.
* - can define `def`s, but no `val`s, `var`s, or nested `traits`s, `class`es or `object`s.
* - typically extend no other trait apart from `AnyVal`.
* - cannot be used in type tests or pattern matching.

0 comments on commit 7f16e4d

Please sign in to comment.
Something went wrong with that request. Please try again.