summaryrefslogtreecommitdiff
path: root/src/syntax
diff options
context:
space:
mode:
Diffstat (limited to 'src/syntax')
-rw-r--r--src/syntax/ast.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/syntax/ast.rs b/src/syntax/ast.rs
index 1b0e8985..547545c7 100644
--- a/src/syntax/ast.rs
+++ b/src/syntax/ast.rs
@@ -1358,8 +1358,8 @@ node! {
}
impl ShowRule {
- /// The pattern that this rule matches.
- pub fn pattern(&self) -> Option<Expr> {
+ /// Defines which nodes the show rule applies to.
+ pub fn selector(&self) -> Option<Expr> {
self.0
.children()
.rev()