Skip to content

Commit

Permalink
Fix copypasted doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jedel1043 committed May 18, 2023
1 parent 5f4b890 commit 58fa828
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion boa_parser/src/parser/expression/left_hand_side/call.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ where
"call expression",
));
};

CallExpressionTail::new(self.allow_yield, self.allow_await, lhs).parse(cursor, interner)
}
}
Expand All @@ -98,7 +99,7 @@ pub(super) struct CallExpressionTail {
}

impl CallExpressionTail {
/// Creates a new `CallExpression` parser.
/// Creates a new `CallExpressionTail` parser.
pub(super) fn new<Y, A>(allow_yield: Y, allow_await: A, call: ast::Expression) -> Self
where
Y: Into<AllowYield>,
Expand Down

0 comments on commit 58fa828

Please sign in to comment.