Browse Source

http2: fix typo in comment

Change-Id: If08e7b6133a2458547598cd45ba591ab091cf03f
Reviewed-on: https://go-review.googlesource.com/125035
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Brad Fitzpatrick 7 years ago
parent
commit
a680a1efc5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      http2/frame.go

+ 1 - 1
http2/frame.go

@@ -762,7 +762,7 @@ func (f *SettingsFrame) HasDuplicates() bool {
 		return false
 		return false
 	}
 	}
 	// If it's small enough (the common case), just do the n^2
 	// If it's small enough (the common case), just do the n^2
-	// thing and a map allocation.
+	// thing and avoid a map allocation.
 	if num < 10 {
 	if num < 10 {
 		for i := 0; i < num; i++ {
 		for i := 0; i < num; i++ {
 			idi := f.Setting(i).ID
 			idi := f.Setting(i).ID