Skip to content

Commit eb9ad8d

Browse files
Mention lack of parallelism in doc strings
1 parent bb08292 commit eb9ad8d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

crates/bevy_ecs/src/system/system.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,11 @@ pub trait System: Send + Sync + 'static {
7070
/// Runs the system directly on the world, initializing the world correctly;
7171
/// immediately applying buffers (such as `Commands`) modified by its system parameters
7272
///
73-
/// Use () as the `input` parameter for systems which do not take any chained input
73+
/// Use () as the `input` parameter for systems which do not take any chained input.
74+
///
75+
/// Only one system will run at a time when executed in this way;
76+
/// use a [`Schedule`] (or a custom abstraction created with [`run_unsafe`])
77+
/// when system parallelism is desired.
7478
///
7579
/// # Examples
7680
/// ```rust

0 commit comments

Comments
 (0)