From 840f5597ffda79414b1cc70b0cd19f23f0547b1d Mon Sep 17 00:00:00 2001 From: Federico Rinaldi Date: Tue, 20 Jul 2021 18:27:43 +0000 Subject: [PATCH] Fix typo in QueryComponentError message (#2498) There was a typo, I believe. --- crates/bevy_ecs/src/system/query.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ecs/src/system/query.rs b/crates/bevy_ecs/src/system/query.rs index 6173889eeef33..5efc282615ff1 100644 --- a/crates/bevy_ecs/src/system/query.rs +++ b/crates/bevy_ecs/src/system/query.rs @@ -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,