This commit is contained in:
Brent Westbrook 2025-12-05 09:32:46 -05:00
parent 43b53edcab
commit dc240a1574
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ impl FormatNodeRule<ExprLambda> for FormatExprLambda {
dangling_after_parameters dangling_after_parameters
.iter() .iter()
.position(|comment| comment.line_position().is_own_line()) .position(|comment| comment.line_position().is_own_line())
.unwrap_or_else(|| dangling_after_parameters.len()), .unwrap_or(dangling_after_parameters.len()),
); );
return write!( return write!(
f, f,