Push rather than inserting

This in theory is a faster way of adding items to the list, but at the very least, makes it consistent with the other branch which also uses `push`
This commit is contained in:
Caleb Owens 2024-05-05 14:35:16 +01:00
parent fc8d8bcb43
commit 442ff9dbac

View File

@ -1855,7 +1855,7 @@ fn get_applied_status(
.or_default()
.entry(claim.file_path.clone())
.or_default()
.insert(0, git_diff_hunk.clone());
.push(git_diff_hunk.clone());
let updated_hunk = Hunk {
start: git_diff_hunk.new_start,
end: git_diff_hunk.new_start + git_diff_hunk.new_lines,