Skip to content

Commit

Permalink
http2: fix typo in comment
Browse files Browse the repository at this point in the history
Change-Id: If08e7b6133a2458547598cd45ba591ab091cf03f
Reviewed-on: https://go-review.googlesource.com/125035
Reviewed-by: Ian Lance Taylor <iant@golang.org>
  • Loading branch information
bradfitz committed Jul 19, 2018
1 parent e257deb commit 367449d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frame.go
Original file line number Diff line number Diff line change
Expand Up @@ -762,7 +762,7 @@ func (f *SettingsFrame) HasDuplicates() bool {
return false
}
// 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 {
for i := 0; i < num; i++ {
idi := f.Setting(i).ID
Expand Down

0 comments on commit 367449d

Please sign in to comment.