Merge pull request #4 from danrl/patch-1

Typo: remove superfluous "the"
This commit is contained in:
Andrew J. Gillis 2019-01-30 11:14:00 -08:00 committed by GitHub
commit 2afb3858e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -103,8 +103,8 @@ func (q *Deque) Back() interface{} {
// call panics.
//
// The purpose of At is to allow Deque to serve as a more general purpose
// circular buffer, where items are only added to and removed from the the ends
// of the deque, but may be read from any place within the deque. Consider the
// circular buffer, where items are only added to and removed from the ends of
// the deque, but may be read from any place within the deque. Consider the
// case of a fixed-size circular log buffer: A new entry is pushed onto one end
// and when full the oldest is popped from the other end. All the log entries
// in the buffer must be readable without altering the buffer contents.