Browse Source

Trivial formatting

Evan Huus 10 years ago
parent
commit
09089ab65e
1 changed files with 3 additions and 1 deletions
  1. 3 1
      queue.go

+ 3 - 1
queue.go

@@ -17,7 +17,9 @@ type Queue struct {
 
 // New constructs and returns a new Queue.
 func New() *Queue {
-	return &Queue{buf: make([]interface{}, minQueueLen)}
+	return &Queue{
+		buf: make([]interface{}, minQueueLen),
+	}
 }
 
 // Length returns the number of elements currently stored in the queue.