Fix option_env expansion
This commit is contained in:
parent
80cabf7260
commit
9f6567f20c
@ -671,7 +671,7 @@ fn option_env_expand(
|
|||||||
|
|
||||||
let expanded = match get_env_inner(db, arg_id, &key) {
|
let expanded = match get_env_inner(db, arg_id, &key) {
|
||||||
None => quote! { #DOLLAR_CRATE::option::Option::None::<&str> },
|
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))
|
ExpandResult::ok(ExpandedEager::new(expanded))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user