2 ms·
One thing that hurts functionality discoverability a bit is that methods are hidden within traits. If it can be done without too much cluttering, it would be n
by Mindless2112 13y ago
One thing that hurts functionality discoverability a bit is that methods are hidden within traits. If it can be done without too much cluttering, it would be nice for the module overview to list the functions within the traits (without any details, e.g. type).
For example, if I am looking for the `insert` method for a vector, I sort of have to understand something about the inner workings of `std::vec` to know that I need to look within `std::vec::OwnedVector` rather than, say, `std::vec::MutableVector`.
- dbaupp 13y agoThis is unfortunate, but it mostly applies to built-in types (since they don't have a declaration anywhere). Types that are defined entirely in libraries do have their trait implementations explicitly listed, e.g. http://seld.be/rustdoc/master/extra/dlist/struct.DList.html#implementations http://seld.be/rustdoc/master/extra/dlist/struct.DList.html#...
- Mindless2112 13y agoAh. Maybe a the built-in types could have special cases built into the doc generator?
- moogly 13y agoThis threw me off as well.