update lambda comment

This commit is contained in:
Brent Westbrook 2025-12-09 17:20:18 -05:00
parent acc49ac1e7
commit 2e0ee2e0a9
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -32,8 +32,8 @@ impl FormatNodeRule<ExprLambda> for FormatExprLambda {
.split_at(dangling.partition_point(|comment| comment.end() < parameters.start()));
if dangling_before_parameters.is_empty() {
// If the first parameter has a leading comment, insert a hard line break. This
// comment is associated as a leading comment on the first parameter:
// If the parameters have a leading comment, insert a hard line break. This
// comment is associated as a leading comment on the parameters:
//
// ```py
// (