mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-26 22:03:11 +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 |
||
|---|---|---|
| .. | ||
| src | ||
| Cargo.toml | ||