Skip to content

Commit

Permalink
Document query errors suggested change bevyengine#2
Browse files Browse the repository at this point in the history
Co-authored-by: harudagondi <[email protected]>
  • Loading branch information
Selene-Amanita and harudagondi authored May 27, 2023
1 parent 25e1878 commit dd0ca47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/bevy_ecs/src/system/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1362,6 +1362,8 @@ impl<'w, 's, Q: WorldQuery, F: ReadOnlyWorldQuery> IntoIterator for &'w mut Quer
pub enum QueryComponentError {
/// The [`Query`] does not have read access to the requested component.
///
/// This error occurs when the requested component is not included in the original query.
///
/// # Example
///
/// ```
Expand Down

0 comments on commit dd0ca47

Please sign in to comment.