mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-03 05:13:35 +00:00
Previously, we'd suggest a type of `vec` for a value of type `Vec<T>`, which is rarely what the user wants. We also had no suggestions for values of type `&[T]`. Instead, try to pluralise the inner type name, and fall back to `items`. |
||
|---|---|---|
| .. | ||
| format_string.rs | ||
| format_string_exprs.rs | ||
| node_ext.rs | ||
| suggest_name.rs | ||
| tree_diff.rs | ||