From a680a1efc54dd51c040b3b5ce4939ea3cf2ea0d1 Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Thu, 19 Jul 2018 17:54:20 +0000 Subject: [PATCH] http2: fix typo in comment Change-Id: If08e7b6133a2458547598cd45ba591ab091cf03f Reviewed-on: https://go-review.googlesource.com/125035 Reviewed-by: Ian Lance Taylor --- http2/frame.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http2/frame.go b/http2/frame.go index 0a12c0885..c85e31f26 100644 --- a/http2/frame.go +++ b/http2/frame.go @@ -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