Skip to content

Commit

Permalink
cleanup, see #15012
Browse files Browse the repository at this point in the history
  • Loading branch information
UkoeHB committed Sep 1, 2024
1 parent d945981 commit 5c6e0fa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions crates/bevy_text/src/pipeline.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,6 @@ impl TextPipeline {
// The section index is stored in the metadata of the spans, and could be used
// to look up the section the span came from and is not used internally
// in cosmic-text.
//
// TODO: Remove this allocation by caching a Vec<OwnedAttrs> then zipping it to an iterator over sections.
// Need to wait for https://github.com/pop-os/cosmic-text/pull/302
let spans: Vec<(&str, Attrs)> = sections
.iter()
.enumerate()
Expand Down

0 comments on commit 5c6e0fa

Please sign in to comment.