File tree 2 files changed +2
-3
lines changed
crates/bevy_ecs/src/world
2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -76,8 +76,8 @@ pub use identifier::WorldId;
76
76
/// assert_eq!(resource.value, 0);
77
77
/// }
78
78
/// #
79
- /// # schedule.add_system_to_stage(Update, read_resource_system.label(first) );
80
- /// # schedule.add_system_to_stage(Update, write_resource_system.after(first ));
79
+ /// # schedule.add_system_to_stage(Update, read_resource_system);
80
+ /// # schedule.add_system_to_stage(Update, write_resource_system.after(read_resource_system ));
81
81
/// # schedule.run_once(&mut world);
82
82
/// ```
83
83
pub struct World {
Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ fn main() {
72
72
// This shows that we can modify existing run criteria results.
73
73
// Here we create a _not done_ criteria by piping the output of
74
74
// the `is_done` system and inverting the output.
75
- // Notice a string literal also works as a label.
76
75
. with_run_criteria ( RunCriteria :: pipe ( is_done_label, inverse) )
77
76
// `collision` and `sfx` are not ordered with respect to
78
77
// each other, and may run in any order
You can’t perform that action at this time.
0 commit comments