Move limit check down
This commit is contained in:
parent
56c7145993
commit
ed2817e599
@ -337,10 +337,10 @@ impl Query {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
res.push(symbol.clone());
|
||||||
if res.len() >= self.limit {
|
if res.len() >= self.limit {
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
res.push(symbol.clone());
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user