address feedback
Co-authored-by: Chris Russell <8494645+chescock@users.noreply.github.com>
This commit is contained in:
parent
d43a7cb8b3
commit
4e30c75c25
@ -151,9 +151,7 @@ impl Systems {
|
|||||||
///
|
///
|
||||||
/// If the system with the given key does not exist in this container.
|
/// If the system with the given key does not exist in this container.
|
||||||
pub(crate) fn node_mut(&mut self, key: SystemKey) -> &mut SystemNode {
|
pub(crate) fn node_mut(&mut self, key: SystemKey) -> &mut SystemNode {
|
||||||
self.nodes
|
&mut self.nodes[key]
|
||||||
.get_mut(key)
|
|
||||||
.unwrap_or_else(|| panic!("System with key {:?} does not exist in the schedule", key))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Returns `true` if the system with the given key has conditions.
|
/// Returns `true` if the system with the given key has conditions.
|
||||||
|
Loading…
Reference in New Issue
Block a user