diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2021-12-18 11:28:05 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-18 11:28:05 +0100 |
| commit | 8bb238b8df99abdb325837bb72be7dedc4db90db (patch) | |
| tree | 3a431cb02ae5b4b03a6cc8a3c0b904d4166d4737 /compiler/rustc_codegen_llvm/src/lib.rs | |
| parent | 44ff0f75d9b6eb3894594c984c535d6742b1aebe (diff) | |
| parent | 080b9261351e109444b4955c9980b2cce7a9bb5c (diff) | |
| download | rust-8bb238b8df99abdb325837bb72be7dedc4db90db.tar.gz rust-8bb238b8df99abdb325837bb72be7dedc4db90db.zip | |
Rollup merge of #91977 - GuillaumeGomez:unify-search-code, r=jsha
Clean up search code and unify function returned values This PR is a cleanup: there is no changes in the search results or in the UI. Depending if it was "literal search" or not, it was either returning booleans or integers. It's pretty bad so instead it all returns integers. Another thing I did was to move the add and checks into a `addIntoResults` function to simplify things. Last thing: I removed a loop in the `sortResults` function and moved its code directly into the first loop. All these changes are done to make #90630 much smaller. r? `@jsha`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/lib.rs')
0 files changed, 0 insertions, 0 deletions
