Description
I am still a newbie to Rust and its ecosystem however so far my biggest struggle is navigating the documentation. The thing is, that specific cause has only come to light after some reflection and confidence in my understanding of things. I expect others are stumbling through the documentation structure equally oblivious. The issues are three...
-
As a strongly type language it should be convenient to locate a type or trait and all its related methods. Often these require and produce additional types and traits. It should be possible to follow a trail through the documentation as links between such various declarations per the nature of HTML. Unfortunately, that is not the browser experience which is a massively missed opportunity.
-
docs.rs
allows for the selection of other documentation libraries. However, it erases the browser link history when that is done such that you cannot simply "backspace" to return todocs.rs
. That was a surprising behaviour. As a result,docs.rs
does not function a root in a hierarchy but merely as a one way door. -
Finally and surprisingly, the documentation for the standard library is separate from that for
crates.io
. This separation is annoying since the distinction is nonsensical. The correct delineation is between the language syntax and the libraries (types, methods, modules, etc.) produces and uses. Granted, there are library features that some language syntax depend on but their documentation may be duplicated in the syntax description or pointed via a link into the library documentation. For instance,for
overIter
,?
returningResult
orOption
, etc.