specs icon indicating copy to clipboard operation
specs copied to clipboard

get_mut_unchecked missing from documentation

Open Rua opened this issue 5 years ago • 1 comments

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.

Rua avatar Mar 29 '20 12:03 Rua

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 avatar Oct 07 '20 05:10 Imberflur

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

Imberflur avatar Mar 01 '23 02:03 Imberflur