aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src
diff options
context:
space:
mode:
authorBenjamin Coenen <[email protected]>2020-05-02 12:39:05 +0100
committerBenjamin Coenen <[email protected]>2020-05-02 12:39:05 +0100
commitfdf86637bf8338ad19923442a547c6c7b495100c (patch)
treee1d0e28680bb805d34b1d8a56d6f4c7119177fc8 /crates/ra_syntax/src
parent6d5f3922f7cf6d6c02521ad947abd63ab4764fca (diff)
parentfb8fb65131c8d3e6335efd401e4e83287be49357 (diff)
Merge branch 'master' of github.com:rust-analyzer/rust-analyzer
Diffstat (limited to 'crates/ra_syntax/src')
-rw-r--r--crates/ra_syntax/src/ast/extensions.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/ast/extensions.rs b/crates/ra_syntax/src/ast/extensions.rs
index 45e3dd2d3..528c873e0 100644
--- a/crates/ra_syntax/src/ast/extensions.rs
+++ b/crates/ra_syntax/src/ast/extensions.rs
@@ -423,6 +423,10 @@ impl ast::MacroCall {
423 None 423 None
424 } 424 }
425 } 425 }
426
427 pub fn is_bang(&self) -> bool {
428 self.is_macro_rules().is_none()
429 }
426} 430}
427 431
428impl ast::LifetimeParam { 432impl ast::LifetimeParam {