Skip to content

Commit 840f559

Browse files
committed
Fix typo in QueryComponentError message (#2498)
There was a typo, I believe.
1 parent 0aced5f commit 840f559

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/bevy_ecs/src/system/query.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ where
559559
pub enum QueryComponentError {
560560
#[error("This query does not have read access to the requested component.")]
561561
MissingReadAccess,
562-
#[error("This query does not have read access to the requested component.")]
562+
#[error("This query does not have write access to the requested component.")]
563563
MissingWriteAccess,
564564
#[error("The given entity does not have the requested component.")]
565565
MissingComponent,

0 commit comments

Comments
 (0)