Go 1.3 compatibility

This commit is contained in:
Sergey Vlasov 2016-02-16 11:28:40 +02:00
parent 26b9100709
commit e3401a0645

View File

@ -200,7 +200,7 @@ func (m *Matcher) scan(request MatchRequest) (*Merger, bool) {
}
partialResults := make([][]*Item, numSlices)
for range slices {
for _, _ = range slices {
partialResult := <-resultChan
partialResults[partialResult.index] = partialResult.matches
}