hyperium / hyper

An HTTP library for Rust
https://hyper.rs
MIT License
14.58k stars 1.6k forks source link

add docs for IncompleteMessage and other Error kinds #2212

Open jmhodges-signal opened 4 years ago

jmhodges-signal commented 4 years ago

It'd be cool to get the docs on IncompleteMessage and similar Kinds on docs.rs. Currently, they're hidden and google searching finds you to the source code first.

They seemed to have existed in ancient history, but no longer: https://docs.rs/hyper/0.11.22/hyper/error/enum.Error.html

jmhodges-signal commented 4 years ago

Oh, also, the description fn seems to have more clarity about the errors than the code comments do: https://github.com/hyperium/hyper/blob/aac0e2dd57244d13e0972b46148fd1cbe4a9f509/src/error.rs#L295