Skip to content

Commit cd44b30

Browse files
Reexport Entry from indexmap crate (#21367)
# Objective Fixes #21275 Pasting the content of the Issue to provide context, > bevy_ecs::entity::EntityIndexMap has the entry() method because it derefs to indexmap::IndexMap, but it doesn't re-export IndexMap::Entry so I have to import the indexmap crate manually. > It would be convenient to re-export indexmap::Entry in bevy_ecs::entity::index_map
1 parent dfb809c commit cd44b30

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/bevy_ecs/src/entity/index_map.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ use core::{
1717

1818
#[cfg(feature = "bevy_reflect")]
1919
use bevy_reflect::Reflect;
20+
pub use indexmap::map::Entry;
2021
use indexmap::map::{self, IndexMap, IntoValues, ValuesMut};
2122

2223
use super::{Entity, EntityEquivalent, EntityHash, EntitySetIterator};

0 commit comments

Comments
 (0)