Some WASM only functions are missing from docs.rs, but why? #2568
-
Rustdoc documentation has pub fn fetch_credentials_same_origin(mut self) -> RequestBuilder {}
pub fn fetch_credentials_include(mut self) -> RequestBuilder {}
pub fn fetch_credentials_omit(mut self) -> RequestBuilder {} Documentation generation should also build the docs using But why the functions don't end up in the documentation as it generated now? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Oh, I didn't notice that docs.rs/reqwest includes the wasm platform option. I'm not sure why it doesn't render there, though. All wasm support is from contributors, so I can't promise when it will be looked into. Unless you'd like to figure it out :) |
Beta Was this translation helpful? Give feedback.
-
It was a stupid user error. Those functions do end up documented in target/wasm32-unknown-unknown/doc/reqwest/struct.RequestBuilder.html. But I still think the empty implementation for |
Beta Was this translation helpful? Give feedback.
Oh, I see, I had also clicked the wrong thing. Cool! Yea, if it's viewable under "platform", the shell should be removed.