hyperium / http

Rust HTTP types
Apache License 2.0
1.14k stars 284 forks source link

moved to finish_non_exhaustive in Debug impl #522

Open 06chaynes opened 2 years ago

06chaynes commented 2 years ago

This moves from the finish method to the finish_non_exhaustive method in Debug impl blocks where applicable.

"Marks the struct as non-exhaustive, indicating to the reader that there are some other fields that are not shown in the debug representation." - std::fmt::DebugStruct Docs

olix0r commented 2 years ago

Note that this method is only available since 1.53.0, so this change impacts the MSRV of http