Skip to content

Commit

Permalink
Replace a use of Seq.iteri over a list with List.iteri (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
Numpsy authored Nov 22, 2023
1 parent 8b4d4f9 commit 51dff04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Avalonia.FuncUI/VirtualDom/VirtualDom.Patcher.fs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ module internal rec Patcher =
if List.isEmpty delta then
collection.Clear()
else
delta |> Seq.iteri (fun index viewElement ->
delta |> List.iteri (fun index viewElement ->
// try patch / reuse
if index + 1 <= collection.Count then
let item = collection.[index]
Expand Down

0 comments on commit 51dff04

Please sign in to comment.