core: fix typos in doc of CircularArray
authorAlexis Laferrière <alexis.laf@xymus.net>
Tue, 24 Jul 2018 22:02:28 +0000 (18:02 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Tue, 24 Jul 2018 22:18:19 +0000 (18:18 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/core/collection/circular_array.nit

index 9419853..1cc757b 100644 (file)
@@ -19,11 +19,11 @@ import array
 
 # Efficient data structure to access both end of the sequence.
 #
 
 # Efficient data structure to access both end of the sequence.
 #
-# A circular array offers efficient random access,
-# efficient manipulation for both ends of the structure (push, pop, ) and
+# A circular array offers efficient random access, efficient manipulation
+# at both ends of the structure (push, pop, shift and unshift) and
 # automatic amortized growth.
 #
 # automatic amortized growth.
 #
-# Therefore it can be used as is or as and efficient queue (FIFO/LIFO)
+# Therefore it can be used as is or as an efficient queue (FIFO/LIFO).
 class CircularArray[E]
        super Sequence[E]
 
 class CircularArray[E]
        super Sequence[E]