File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
crates/bevy_ecs/src/query Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ use std::{
88
88
/// }
89
89
/// }
90
90
///
91
- /// # my_system. system( );
91
+ /// # bevy_ecs:: system::assert_is_system(my_system );
92
92
/// ```
93
93
///
94
94
/// ## Mutable queries
@@ -141,7 +141,8 @@ use std::{
141
141
/// println!("Total (mut): {}", health.total());
142
142
/// }
143
143
/// }
144
- /// # my_system.system();
144
+ ///
145
+ /// # bevy_ecs::system::assert_is_system(my_system);
145
146
/// ```
146
147
///
147
148
/// **Note:** if you omit the `mutable` attribute for a query that doesn't implement
@@ -236,7 +237,7 @@ use std::{
236
237
/// }
237
238
/// }
238
239
///
239
- /// # my_system. system( );
240
+ /// # bevy_ecs:: system::assert_is_system(my_system );
240
241
/// ```
241
242
///
242
243
/// ## Ignored fields
@@ -260,7 +261,7 @@ use std::{
260
261
/// for _ in query.iter() {}
261
262
/// }
262
263
///
263
- /// # my_system. system( );
264
+ /// # bevy_ecs:: system::assert_is_system(my_system );
264
265
/// ```
265
266
///
266
267
/// ## Filters
@@ -299,7 +300,7 @@ use std::{
299
300
/// for _ in query.iter() {}
300
301
/// }
301
302
///
302
- /// # my_system. system( );
303
+ /// # bevy_ecs:: system::assert_is_system(my_system );
303
304
/// ```
304
305
pub trait WorldQuery {
305
306
type Fetch : for < ' world , ' state > Fetch < ' world , ' state , State = Self :: State > ;
You can’t perform that action at this time.
0 commit comments