Skip to content

add unchecked variant to avoid redundant validation #421

@github-actions

Description

@github-actions

return Err(QuerySingleError::MultipleEntities);
}
// TODO: add unchecked variant to avoid redundant validation
self.get_idx(i).ok_or(QuerySingleError::NoEntities)
}
/// Get a mutable reference to the component store if there is exactly one instance of the
/// component.


This issue was generated by todo-issue based on a TODO comment in 4d96146.

Metadata

Metadata

Assignees

No one assigned

    Labels

    code:todoA TODO/FIXME comment in code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions