diff --git a/crates/bevy_ecs/src/schedule/graph/graph_map.rs b/crates/bevy_ecs/src/schedule/graph/graph_map.rs index 7eae0f8fff..a2a5b0801e 100644 --- a/crates/bevy_ecs/src/schedule/graph/graph_map.rs +++ b/crates/bevy_ecs/src/schedule/graph/graph_map.rs @@ -260,6 +260,9 @@ impl Graph /// Converts from one [`GraphNodeId`] type to another. If the conversion fails, /// it returns the error from the target type's [`TryFrom`] implementation. /// + /// Nodes must uniquely convert from `N` to `T` (i.e. no two `N` can convert + /// to the same `T`). + /// /// # Errors /// /// If the conversion fails, it returns an error of type `T::Error`.