diff --git a/ringbuffer/RingBuffer.go b/ringbuffer/RingBuffer.go index 7c239f80..cb152112 100644 --- a/ringbuffer/RingBuffer.go +++ b/ringbuffer/RingBuffer.go @@ -50,7 +50,7 @@ type ringBuffer struct { } /* -New returns the addres of a new ring buffer with the parameters specified. +New returns a pointer to a newly allocated RingBuffer with the parameters specified. It initialises fields and allocates the required dataMemory. */ func NewRingBuffer(bufferSize int, elementSize int) (rb *ringBuffer) {