From c1cb5953820f26d4d0a614650bc8c50cbc5a3ce6 Mon Sep 17 00:00:00 2001 From: Jonas Schievink Date: Tue, 15 Dec 2020 15:37:37 +0100 Subject: Move to upstream `macro_rules!` model --- crates/completion/src/render/macro_.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crates/completion') diff --git a/crates/completion/src/render/macro_.rs b/crates/completion/src/render/macro_.rs index eb3209bee..6cfbd6c9b 100644 --- a/crates/completion/src/render/macro_.rs +++ b/crates/completion/src/render/macro_.rs @@ -144,7 +144,7 @@ mod tests { use foo::<|>; //- /foo/lib.rs crate:foo #[macro_export] -macro_rules frobnicate { () => () } +macro_rules! frobnicate { () => () } "#, r#" use foo::frobnicate; @@ -154,11 +154,11 @@ use foo::frobnicate; check_edit( "frobnicate!", r#" -macro_rules frobnicate { () => () } +macro_rules! frobnicate { () => () } fn main() { frob<|>!(); } "#, r#" -macro_rules frobnicate { () => () } +macro_rules! frobnicate { () => () } fn main() { frobnicate!(); } "#, ); -- cgit v1.2.3