Skip to content

Commit 8f773ce

Browse files
committed
fix doc
1 parent c9ca8be commit 8f773ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/builder.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ impl Builder {
498498
///
499499
/// # Errors
500500
///
501-
/// Returns [`EntityMutableFetchError::EntityDoesNotExist`] if the entity does not exist in the
501+
/// Returns [`EntityMutableFetchError::NotSpawned`] if the entity does not exist in the
502502
/// world.
503503
pub fn spawn_on_entity(self, world: &mut World, entity: Entity) -> Result<(), EntityMutableFetchError> {
504504
let mut entity_mut = world.get_entity_mut(entity)?;

0 commit comments

Comments
 (0)