Skip to content

Commit

Permalink
Fix typo in QueryComponentError message (#2498)
Browse files Browse the repository at this point in the history
There was a typo, I believe.
  • Loading branch information
Nilirad committed Jul 20, 2021
1 parent 0aced5f commit 840f559
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/system/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ where
pub enum QueryComponentError {
#[error("This query does not have read access to the requested component.")]
MissingReadAccess,
#[error("This query does not have read access to the requested component.")]
#[error("This query does not have write access to the requested component.")]
MissingWriteAccess,
#[error("The given entity does not have the requested component.")]
MissingComponent,
Expand Down

0 comments on commit 840f559

Please sign in to comment.