vcombey / fallible_collections

impl fallible collections in rust, quite as describe in RFC 2116
Apache License 2.0
31 stars 14 forks source link

Use stdlib fallible alllocation primitives #23

Closed baumanj closed 2 years ago

baumanj commented 2 years ago

Rust 1.57 stabilized stdlib fallible allocation, so it would be beneficial to replace the relevant code in this crate to use the stdlib where possible. I still think there's a lot of value in the distinct fallible collection types, however, since the stdlib collections require calling the fallible reserve functions appropriately to avoid infallible allocations.

kornelski commented 2 years ago

Done in #24

baumanj commented 2 years ago

Awesome! Thanks @kornelski