@@ -88,7 +88,7 @@ pub trait IntoSystemSetConfig: sealed::IntoSystemSetConfig {
88
88
/// Add to the provided `set`.
89
89
#[ track_caller]
90
90
fn in_set ( self , set : impl SystemSet ) -> SystemSetConfig ;
91
- /// Add to the provided "base" `set`.
91
+ /// Add to the provided "base" `set`. For more information on base sets, see [`SystemSet::is_base`].
92
92
#[ track_caller]
93
93
fn in_base_set ( self , set : impl SystemSet ) -> SystemSetConfig ;
94
94
/// Add this set to the schedules's default base set.
@@ -230,11 +230,11 @@ impl IntoSystemSetConfig for SystemSetConfig {
230
230
fn in_base_set ( mut self , set : impl SystemSet ) -> Self {
231
231
assert ! (
232
232
!set. is_system_type( ) ,
233
- "adding arbitrary systems to a system type set is not allowed "
233
+ "System type sets cannot be base sets. "
234
234
) ;
235
235
assert ! (
236
236
set. is_base( ) ,
237
- "Normal sets cannot be added to system sets using 'in_base_set'. Use 'in_set' instead."
237
+ "Sets cannot be added to normal sets using 'in_base_set'. Use 'in_set' instead."
238
238
) ;
239
239
assert ! (
240
240
!self . set. is_base( ) ,
@@ -296,7 +296,7 @@ pub trait IntoSystemConfig<Params>: sealed::IntoSystemConfig<Params> {
296
296
/// Add to `set` membership.
297
297
#[ track_caller]
298
298
fn in_set ( self , set : impl SystemSet ) -> SystemConfig ;
299
- /// Add to the "base" `set` membership .
299
+ /// Add to the provided "base" `set`. For more information on base sets, see [`SystemSet::is_base`] .
300
300
#[ track_caller]
301
301
fn in_base_set ( self , set : impl SystemSet ) -> SystemConfig ;
302
302
/// Don't add this system to the schedules's default set.
@@ -434,11 +434,11 @@ impl IntoSystemConfig<()> for SystemConfig {
434
434
fn in_base_set ( mut self , set : impl SystemSet ) -> Self {
435
435
assert ! (
436
436
!set. is_system_type( ) ,
437
- "adding arbitrary systems to a system type set is not allowed "
437
+ "System type sets cannot be base sets. "
438
438
) ;
439
439
assert ! (
440
440
set. is_base( ) ,
441
- "Systems cannot be added to normal system sets using 'in_base_set'. Use 'in_set' instead."
441
+ "Systems cannot be added to normal sets using 'in_base_set'. Use 'in_set' instead."
442
442
) ;
443
443
self . graph_info . set_base_set ( Box :: new ( set) ) ;
444
444
self
@@ -533,7 +533,7 @@ where
533
533
self . into_configs ( ) . in_set ( set)
534
534
}
535
535
536
- /// Add these systems to the provided "base" `set`.
536
+ /// Add these systems to the provided "base" `set`. For more information on base sets, see [`SystemSet::is_base`].
537
537
#[ track_caller]
538
538
fn in_base_set ( self , set : impl SystemSet ) -> SystemConfigs {
539
539
self . into_configs ( ) . in_base_set ( set)
@@ -600,11 +600,11 @@ impl IntoSystemConfigs<()> for SystemConfigs {
600
600
fn in_base_set ( mut self , set : impl SystemSet ) -> Self {
601
601
assert ! (
602
602
!set. is_system_type( ) ,
603
- "adding arbitrary systems to a system type set is not allowed "
603
+ "System type sets cannot be base sets. "
604
604
) ;
605
605
assert ! (
606
606
set. is_base( ) ,
607
- "Systems cannot be added to normal system sets using 'in_base_set'. Use 'in_set' instead."
607
+ "Systems cannot be added to normal sets using 'in_base_set'. Use 'in_set' instead."
608
608
) ;
609
609
for config in & mut self . systems {
610
610
config. graph_info . set_base_set ( set. dyn_clone ( ) ) ;
@@ -686,7 +686,7 @@ where
686
686
self . into_configs ( ) . in_set ( set)
687
687
}
688
688
689
- /// Add these system sets to the provided "base" `set`.
689
+ /// Add these system sets to the provided "base" `set`. For more information on base sets, see [`SystemSet::is_base`].
690
690
#[ track_caller]
691
691
fn in_base_set ( self , set : impl SystemSet ) -> SystemSetConfigs {
692
692
self . into_configs ( ) . in_base_set ( set)
@@ -752,11 +752,11 @@ impl IntoSystemSetConfigs for SystemSetConfigs {
752
752
fn in_base_set ( mut self , set : impl SystemSet ) -> Self {
753
753
assert ! (
754
754
!set. is_system_type( ) ,
755
- "adding arbitrary systems to a system type set is not allowed "
755
+ "System type sets cannot be base sets. "
756
756
) ;
757
757
assert ! (
758
758
set. is_base( ) ,
759
- "Sets cannot be added to normal system sets using 'in_base_set'. Use 'in_set' instead."
759
+ "Sets cannot be added to normal sets using 'in_base_set'. Use 'in_set' instead."
760
760
) ;
761
761
for config in & mut self . sets {
762
762
assert ! (
0 commit comments