Skip to content

Commit

Permalink
Update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
harupy committed Jul 16, 2023
1 parent a036ec7 commit b52f3cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ fn create_property_assignment_stmt(property: &str, annotation: &Expr) -> Stmt {
.into()
}

/// Create a list of property assignments from the `NamedTuple` fields argument.
/// Create a list of property assignments from the `NamedTuple`'s fields argument.
fn create_properties_from_fields_arg(fields: &Expr) -> Result<Vec<Stmt>> {
let Expr::List(ast::ExprList { elts, .. }) = &fields else {
bail!("Expected argument to be `Expr::List`");
Expand Down

0 comments on commit b52f3cd

Please sign in to comment.