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