Fuse iterator supplied to `SumTree::from_iter` (#10571)

This fixes an issue that could cause `from_iter` to never finish if the
underlying iterator restarted after returning `None` for the first time.

We only saw this in development but I wanna cherry-pick it to stable and
preview, just in case.

Release Notes:

- N/A

Co-authored-by: Kyle <kylek@zed.dev>
57a736d74aAntonio Scandurra committed on 4/15/2024, 6:09:43 PM· committed by GitHubparent015e2ec
1 file changedLine totals unavailable