Skip to content

Commit

Permalink
Remove outdated TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
kabergstrom committed Jan 22, 2022
1 parent 5c94070 commit c8cd12d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/ergo/scope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ impl<'a> ErgoScope<'a> {
entity: Entity,
components: impl DynamicBundle,
) -> Result<(), NoSuchEntity> {
// TODO ensure there are no active locks on affected component data
if self.access.is_entity_overridden(entity) {
let mut override_map = self.override_data.borrow_mut();
let data = override_map
Expand Down Expand Up @@ -740,6 +739,4 @@ mod test {
assert_eq!(*component.read(), 5i32);
}
}
// TODO write a test demonstrating behaviour of getting a ptr to world-owned component,
// then removing the component, then adding a new component of the same type
}

0 comments on commit c8cd12d

Please sign in to comment.