amethyst / specs

Specs - Parallel ECS
https://amethyst.github.io/specs/
Apache License 2.0
2.49k stars 219 forks source link

get_mut_unchecked missing from documentation #692

Closed Rua closed 1 year ago

Rua commented 4 years ago

In the documentation for RestrictedStorage, there is some example code that calls comps.get_mut_unchecked(). But a search for get_mut_unchecked in the documentation turns up nothing. What type is this defined on, and what type is comps in this context? It should probably be documented.

Imberflur commented 3 years ago

This appears to have been fixed by https://github.com/amethyst/specs/pull/700 which exposes PairedStorage however this is not yet in a released version.

Imberflur commented 1 year ago

Latest docs include this https://docs.rs/specs/0.18.0/specs/storage/struct.PairedStorage.html#method.get_mut_unchecked