aboutsummaryrefslogtreecommitdiff
path: root/crates/ide
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-03-15 10:05:49 +0000
committerGitHub <[email protected]>2021-03-15 10:05:49 +0000
commit5138baf2ac742de601f29d22fc64e386da56c4c2 (patch)
tree339b86881cb2d7aeef62f6547002808c83034503 /crates/ide
parentb39059e653edf1fad12abca92d8dae5d10007d4c (diff)
parent9763d9e8c4ca01a4df0d70877020ec7351403b75 (diff)
parentcad617bba054334e2172b9ef54f2ed82c6067794 (diff)
Merge #8021 #8022
8021: Enable searching for builtin types r=matklad a=Veykril Not too sure how useful this is for reference search overall, but for completeness sake it should be there ![image](https://user-images.githubusercontent.com/3757771/111132711-f69db600-8579-11eb-8c90-22fd6862d11f.png) Also enables document highlighting for them. 8022: some clippy::performance fixes r=matklad a=matthiaskrgr use vec![] instead of Vec::new() + push() avoid redundant clones use chars instead of &str for single char patterns in ends_with() and starts_with() allocate some Vecs with capacity to avoid unnecessary resizing Co-authored-by: Lukas Wirth <[email protected]> Co-authored-by: Matthias Krüger <[email protected]>