Auto merge of #13898 - lnicola:option-env, r=Veykril

fix: Fix option_env expansion
This commit is contained in:
bors 2023-01-06 17:25:36 +00:00
commit f1a99014b3

View File

@ -671,7 +671,7 @@ fn option_env_expand(
let expanded = match get_env_inner(db, arg_id, &key) {
None => quote! { #DOLLAR_CRATE::option::Option::None::<&str> },
Some(s) => quote! { #DOLLAR_CRATE::option::Some(#s) },
Some(s) => quote! { #DOLLAR_CRATE::option::Option::Some(#s) },
};
ExpandResult::ok(ExpandedEager::new(expanded))