Skip to content

Commit 5802ab0

Browse files
authored
Fixed typo in EntityValidButNotSpawnedError description (#23819)
# Objective - Fix a typo I found in Error's description ## Solution - Fixed a typo in documentation ## Testing - Its just a typo fix, checked if IDE displays correct text
1 parent b9c385b commit 5802ab0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • crates/bevy_ecs/src/entity

crates/bevy_ecs/src/entity/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,7 @@ pub struct InvalidEntityError {
11321132
pub current_generation: EntityGeneration,
11331133
}
11341134

1135-
/// An error that occurs when a specified [`Entity`] is certain to be valid and is expected to be spawned but is spawned.
1135+
/// An error that occurs when a specified [`Entity`] is certain to be valid and is expected to be spawned but is not spawned yet.
11361136
/// This includes when an [`EntityIndex`] is requested but is not spawned, since each index always corresponds to exactly one valid entity.
11371137
#[derive(thiserror::Error, Debug, Clone, Copy, PartialEq, Eq)]
11381138
pub struct EntityValidButNotSpawnedError {

0 commit comments

Comments
 (0)