From 3583e0fe2bfc3ba1a7aac5c1624c6ed2898b5419 Mon Sep 17 00:00:00 2001 From: Trevor Spiteri Date: Tue, 12 May 2020 23:51:38 +0200 Subject: fix typo unimplementated -> unimplemented Pretty harmless typo, but it does get exposed in lsp-rust-analyzer-expand-macro. --- crates/ra_hir_expand/src/builtin_macro.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates') diff --git a/crates/ra_hir_expand/src/builtin_macro.rs b/crates/ra_hir_expand/src/builtin_macro.rs index d8b3d342c..3bce8f673 100644 --- a/crates/ra_hir_expand/src/builtin_macro.rs +++ b/crates/ra_hir_expand/src/builtin_macro.rs @@ -360,7 +360,7 @@ fn env_expand( // However, we cannot use an empty string here, because for // `include!(concat!(env!("OUT_DIR"), "/foo.rs"))` will become // `include!("foo.rs"), which might go to infinite loop - let s = get_env_inner(db, arg_id, &key).unwrap_or_else(|| "__RA_UNIMPLEMENTATED__".to_string()); + let s = get_env_inner(db, arg_id, &key).unwrap_or_else(|| "__RA_UNIMPLEMENTED__".to_string()); let expanded = quote! { #s }; Ok((expanded, FragmentKind::Expr)) @@ -508,7 +508,7 @@ mod tests { "#, ); - assert_eq!(expanded, "\"__RA_UNIMPLEMENTATED__\""); + assert_eq!(expanded, "\"__RA_UNIMPLEMENTED__\""); } #[test] -- cgit v1.2.3