Skip to content

Commit 88e2ed7

Browse files
authored
ArrayDeque.alloc doc: do not use macro syntax
`$len` is a macro injection while `len` is not a macro defined somewhere
1 parent 3720b79 commit 88e2ed7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/collection/mutable/ArrayDeque.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ object ArrayDeque extends StrictOptimizedSeqFactory[ArrayDeque] {
554554
private[ArrayDeque] final val StableSize = 128
555555

556556
/**
557-
* Allocates an array whose size is next power of 2 > $len
557+
* Allocates an array whose size is next power of 2 > `len`
558558
* Largest possible len is 1<<30 - 1
559559
*
560560
* @param len

0 commit comments

Comments
 (0)