Here’s an example:
https://rustwasm.github.io/wasm-bindgen/api/wasm_bindgen_futures/
That’s the api documentation.
Compare that to this:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise
I’m not even just talking about the fact that MDN has that massive walkthrough about how to use a js Promise- the sidebar on the left contains all the static methods you can use on a promise and all the methods you can use on promise instances clearly laid out whereas the rust crate sidebar has a bunch of irrelevant stuff and clicking on any of them basically just links to a page with function signatures.
All of that being said, the crate I’m picking on here has been downloaded 58,666,712 times. So CLEARLY people are finding this ‘documentation’ useful SOMEHOW and I am clearly in the wrong here. So can anyone tell me what I’m missing? How would YOU go about learning how to use that crate?