From 0c62b28d6dbffd84da15bc86ce877a68f25f8887 Mon Sep 17 00:00:00 2001 From: Federico Rinaldi Date: Wed, 21 Jul 2021 07:11:31 +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 6173889eee..5efc282615 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,