This commit is contained in:
Folkert 2022-05-15 21:49:10 +02:00
parent f92a8e900d
commit 225254d7e5
No known key found for this signature in database
GPG Key ID: 1F17F6FFD112B97C

View File

@ -197,8 +197,7 @@ where
} else if column < min_indent {
Err((MadeProgress, indent_problem(state.pos()), state))
} else {
let comments_and_newlines =
Vec::with_capacity_in(newlines.saturating_sub(1), arena);
let comments_and_newlines = Vec::with_capacity_in(newlines, arena);
let spaces = eat_spaces(state, false, comments_and_newlines);
let mut state = spaces.state;