seanmonstar / httparse

A push parser for the HTTP 1.x protocol in Rust.
https://docs.rs/httparse
Apache License 2.0
569 stars 110 forks source link

Replace deprecated 'try!' with '?' #78

Closed eaufavor closed 3 years ago

eaufavor commented 3 years ago

https://doc.rust-lang.org/std/macro.try.html

Deprecated since 1.39.0: use the ? operator instead

seanmonstar commented 3 years ago

We can't make this change, because then it stops building on Rust versions before ? became stable.