summaryrefslogtreecommitdiff
path: root/src/syntax/ast.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-12-14 09:57:52 +0100
committerLaurenz <laurmaedje@gmail.com>2022-12-14 09:57:52 +0100
commit2470df05af993e89405c5c86329e08243960641d (patch)
tree0f241650ab94b52eb11c3f43bbec2711234f65ad /src/syntax/ast.rs
parentad66fbdfa2d39e39c2a7d7411e27cb61ada2b648 (diff)
Linked syntax node
Diffstat (limited to 'src/syntax/ast.rs')
-rw-r--r--src/syntax/ast.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syntax/ast.rs b/src/syntax/ast.rs
index 4db00593..77c788d3 100644
--- a/src/syntax/ast.rs
+++ b/src/syntax/ast.rs
@@ -1205,7 +1205,7 @@ node! {
}
impl MethodCall {
- /// The expresion to call the method on.
+ /// The expression to call the method on.
pub fn target(&self) -> Expr {
self.0.cast_first_child().expect("method call is missing target")
}