Fix typo in SemanticModel.parent_expression docstring (#9167)

Self-explanatory and self-contained! :)
This commit is contained in:
Steve C 2023-12-16 21:12:50 -05:00 committed by GitHub
parent a336c1bc95
commit 93d8c56d41
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -993,7 +993,7 @@ impl<'a> SemanticModel<'a> {
&self.nodes[node_id]
}
/// Given a [`Expr`], return its parent, if any.
/// Given a [`NodeId`], return its parent, if any.
#[inline]
pub fn parent_expression(&self, node_id: NodeId) -> Option<&'a Expr> {
self.nodes