Fix typo in QueryComponentError message (#2498)

There was a typo, I believe.
This commit is contained in:
Federico Rinaldi 2021-07-21 07:11:31 +00:00
parent 0aced5fb72
commit 0c62b28d6d

View file

@ -559,7 +559,7 @@ where
pub enum QueryComponentError { pub enum QueryComponentError {
#[error("This query does not have read access to the requested component.")] #[error("This query does not have read access to the requested component.")]
MissingReadAccess, 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, MissingWriteAccess,
#[error("The given entity does not have the requested component.")] #[error("The given entity does not have the requested component.")]
MissingComponent, MissingComponent,