diff options
Diffstat (limited to 'crates/completion')
-rw-r--r-- | crates/completion/src/render/macro_.rs | 6 |
1 files changed, 3 insertions, 3 deletions
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 { | |||
144 | use foo::<|>; | 144 | use foo::<|>; |
145 | //- /foo/lib.rs crate:foo | 145 | //- /foo/lib.rs crate:foo |
146 | #[macro_export] | 146 | #[macro_export] |
147 | macro_rules frobnicate { () => () } | 147 | macro_rules! frobnicate { () => () } |
148 | "#, | 148 | "#, |
149 | r#" | 149 | r#" |
150 | use foo::frobnicate; | 150 | use foo::frobnicate; |
@@ -154,11 +154,11 @@ use foo::frobnicate; | |||
154 | check_edit( | 154 | check_edit( |
155 | "frobnicate!", | 155 | "frobnicate!", |
156 | r#" | 156 | r#" |
157 | macro_rules frobnicate { () => () } | 157 | macro_rules! frobnicate { () => () } |
158 | fn main() { frob<|>!(); } | 158 | fn main() { frob<|>!(); } |
159 | "#, | 159 | "#, |
160 | r#" | 160 | r#" |
161 | macro_rules frobnicate { () => () } | 161 | macro_rules! frobnicate { () => () } |
162 | fn main() { frobnicate!(); } | 162 | fn main() { frobnicate!(); } |
163 | "#, | 163 | "#, |
164 | ); | 164 | ); |