Skip to content

Commit f4aec8a

Browse files
bors[bot]tspiteri
andauthored
Merge #4441
4441: fix typo unimplementated -> unimplemented r=edwin0cheng a=tspiteri Pretty harmless typo, but it does get exposed in lsp-rust-analyzer-expand-macro. Co-authored-by: Trevor Spiteri <tspiteri@ieee.org>
2 parents 23cc690 + 3583e0f commit f4aec8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/ra_hir_expand/src/builtin_macro.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ fn env_expand(
360360
// However, we cannot use an empty string here, because for
361361
// `include!(concat!(env!("OUT_DIR"), "/foo.rs"))` will become
362362
// `include!("foo.rs"), which might go to infinite loop
363-
let s = get_env_inner(db, arg_id, &key).unwrap_or_else(|| "__RA_UNIMPLEMENTATED__".to_string());
363+
let s = get_env_inner(db, arg_id, &key).unwrap_or_else(|| "__RA_UNIMPLEMENTED__".to_string());
364364
let expanded = quote! { #s };
365365

366366
Ok((expanded, FragmentKind::Expr))
@@ -508,7 +508,7 @@ mod tests {
508508
"#,
509509
);
510510

511-
assert_eq!(expanded, "\"__RA_UNIMPLEMENTATED__\"");
511+
assert_eq!(expanded, "\"__RA_UNIMPLEMENTED__\"");
512512
}
513513

514514
#[test]

0 commit comments

Comments
 (0)