Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #13898 - lnicola:option-env, r=Veykril
fix: Fix option_env expansion
bors 2023-01-07
parent 80cabf7 · parent 9f6567f · commit f1a9901
-rw-r--r--crates/hir-expand/src/builtin_fn_macro.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-expand/src/builtin_fn_macro.rs b/crates/hir-expand/src/builtin_fn_macro.rs
index 985954d44e..eed71d88e2 100644
--- a/crates/hir-expand/src/builtin_fn_macro.rs
+++ b/crates/hir-expand/src/builtin_fn_macro.rs
@@ -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))