Bump smol-str

This commit is contained in:
Lukas Wirth 2023-04-11 14:05:22 +02:00
parent fa3db447d7
commit 1456b53051
6 changed files with 14 additions and 6 deletions

View file

@ -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);
});