diff options
Diffstat (limited to 'src/library/scala/Product.scala')
-rw-r--r-- | src/library/scala/Product.scala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/library/scala/Product.scala b/src/library/scala/Product.scala index b9a60e4c95..2e0a0b2816 100644 --- a/src/library/scala/Product.scala +++ b/src/library/scala/Product.scala @@ -39,9 +39,8 @@ trait Product extends AnyRef { def next() = { val result = productElement(c); c += 1; result } } - /** @deprecated use productIterator instead - */ - @deprecated def productElements: Iterator[Any] = productIterator + @deprecated("use productIterator instead") + def productElements: Iterator[Any] = productIterator /** * By default the empty string. Implementations may override this |