summaryrefslogtreecommitdiff
path: root/src/syntax/ast.rs
diff options
context:
space:
mode:
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")
}