mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-12-10 11:10:16 +00:00
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 unneccessary resizing |
||
|---|---|---|
| .. | ||
| build_data.rs | ||
| cargo_workspace.rs | ||
| cfg_flag.rs | ||
| lib.rs | ||
| project_json.rs | ||
| rustc_cfg.rs | ||
| sysroot.rs | ||
| workspace.rs | ||