mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-27 11:02:33 +01:00
54fff2ff5b
## Summary `ComponentExampleGroup::grow()` and `vertical()` set fields that `render` never reads, so all 28 calls did nothing. Removes the fields, the builders and the calls. Also removes the unused `sorted_previews` and `empty_example`. **Most of the diff is rustfmt reflowing `GitPanel`'s preview. With whitespace hidden, it's +28/−77.** ## Testing - `./script/clippy` - To check by hand, open the component preview: the affected examples should render unchanged. ## Self-review - [x] I've reviewed my diff for quality, security, reliability, and performance. - [x] UI changes follow the [checklist](https://zed.dev/docs/development/ui-checklist). - [x] Tests cover the new or changed behavior. Release Notes: - N/A