mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 07:04:49 +00:00
Bump smol-str
This commit is contained in:
parent
fa3db447d7
commit
1456b53051
6 changed files with 14 additions and 6 deletions
|
@ -37,9 +37,9 @@ pub(crate) fn complete_cargo_env_vars(
|
|||
guard_env_macro(expanded, &ctx.sema)?;
|
||||
let range = expanded.text_range_between_quotes()?;
|
||||
|
||||
CARGO_DEFINED_VARS.iter().for_each(|(var, detail)| {
|
||||
CARGO_DEFINED_VARS.into_iter().for_each(|&(var, detail)| {
|
||||
let mut item = CompletionItem::new(CompletionItemKind::Keyword, range, var);
|
||||
item.detail(*detail);
|
||||
item.detail(detail);
|
||||
item.add_to(acc);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue