avitex / rust-dangerous

Rust library for safely and explicitly parsing untrusted data
MIT License
51 stars 4 forks source link

Can take_consumed be used incorrectly with the lifetime? #13

Closed avitex closed 3 years ago

avitex commented 3 years ago

Yes, but Reader needs the lifetime to produce errors that can bubble up