Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/bevy_ecs/src/bundle/info.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use alloc::{boxed::Box, vec, vec::Vec};
use alloc::{boxed::Box, string::ToString as _, vec, vec::Vec};
use bevy_platform::{
collections::{HashMap, HashSet},
hash::FixedHasher,
Expand Down Expand Up @@ -111,7 +111,7 @@ impl BundleInfo {
.into_iter()
.map(|id| {
// SAFETY: the caller ensures component_id is valid.
unsafe { components.get_info_unchecked(id).name() }
unsafe { components.get_info_unchecked(id).name().to_string() }
})
.collect::<Vec<_>>();

Expand Down