Skip to content

Commit a98f7a5

Browse files
committed
Use integer range
1 parent 05835ea commit a98f7a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

opaque/opaque.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ func (r *runner) run(pass *analysis.Pass) (interface{}, error) {
133133
typ := pass.TypesInfo.TypeOf(res)
134134
switch typ := typ.(type) {
135135
case *types.Tuple:
136-
for i := 0; i < typ.Len(); i++ {
136+
for i := range typ.Len() {
137137
v := typ.At(i)
138138
vTyp := v.Type()
139139
retStmtTypes[i][vTyp] = struct{}{}

0 commit comments

Comments
 (0)