Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Return an empty measurement instead of panicking (#15269)
Follow-up of #15256 Returns zero size for no items to render. Incorrect worktree state made the uniform list to have 0 items to render, so ```Rust let mut items = (self.render_items)(item_ix..item_ix + 1, cx); let mut item_to_measure = items.pop().unwrap(); ``` panicked as the first line returned an empty array despite a single-element range provided. Release Notes: - N/A
- Loading branch information