rust/crates/rust-analyzer
bors[bot] 5138baf2ac
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 <lukastw97@gmail.com>
Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
2021-03-15 10:05:49 +00:00
..
src Merge #8021 #8022 2021-03-15 10:05:49 +00:00
tests/rust-analyzer Don't punish every crate with serde-json 2021-03-08 20:37:20 +03:00
build.rs Improve version display 2021-03-12 19:49:00 +02:00
Cargo.toml ⬆️ xflags 2021-03-07 11:12:59 +03:00