Files
oak-gpui/crates
Oleksii (Alexey) Orlenko e5f87735d3 markdown_preview: Remove unnecessary vec allocation (#44238)
Instead of allocating a one-element vec on the heap, we can just use an
array here (since `Editor::edit` accepts anything that implements
`IntoIterator`).

I haven't checked if there are more instances that can be simplified,
just accidentally stumbled upon this when working on something else in
the markdown preview crate.

Release Notes:

- N/A
2025-12-05 23:27:21 +01:00
..
2025-11-19 12:34:41 +01:00
2025-12-03 11:24:08 +00:00
2025-11-20 22:17:50 -07:00
2025-11-11 16:10:47 +01:00
2025-11-25 14:17:27 -08:00
2025-11-12 15:31:20 +01:00