docs: refine code comment
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 21 May 2024 21:07:51 +0000 (23:07 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 21 May 2024 21:07:51 +0000 (23:07 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/circular-buffer.ts

index cbe733d8f2d0841e27a0773a81a5d17d735c9adc..baa921920f26e3e8b82ebad79f8642577acfc892 100644 (file)
@@ -27,7 +27,7 @@ export class CircularBuffer<T> {
   /**
    * Puts data into buffer
    *
-   * @param data - Data to push
+   * @param data - Data to put into buffer
    */
   public put (data: T): void {
     this.items[this.writeIdx] = data