Corrected typo in comment and also improved comment

This commit is contained in:
Saxon1 2017-12-04 12:55:19 +10:30
parent cdde22b2d6
commit 4783f39400
1 changed files with 1 additions and 1 deletions

View File

@ -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. It initialises fields and allocates the required dataMemory.
*/ */
func NewRingBuffer(bufferSize int, elementSize int) (rb *ringBuffer) { func NewRingBuffer(bufferSize int, elementSize int) (rb *ringBuffer) {