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.
|
||||
pub(crate) fn node_mut(&mut self, key: SystemKey) -> &mut SystemNode {
|
||||
self.nodes
|
||||
.get_mut(key)
|
||||
.unwrap_or_else(|| panic!("System with key {:?} does not exist in the schedule", key))
|
||||
&mut self.nodes[key]
|
||||
}
|
||||
|
||||
/// Returns `true` if the system with the given key has conditions.
|
||||
|
Loading…
Reference in New Issue
Block a user