mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-09 19:58:50 +00:00
cad617bba0
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 |
||
---|---|---|
.. | ||
completions | ||
render | ||
completions.rs | ||
config.rs | ||
context.rs | ||
generated_lint_completions.rs | ||
item.rs | ||
lib.rs | ||
patterns.rs | ||
render.rs | ||
test_utils.rs |