Closed kornelski closed 2 years ago
Rust 1.57 has stabilized the try_reserve feature.
try_reserve
This change:
rust_1_57
hashbrown::TryReserveError
std
HashMap
alloc
unstable
I think this change is backwards compatible, and keeps the same MSRV.
Rust 1.57 has stabilized the
try_reserve
feature.This change:
try_reserve
ifrust_1_57
feature is enabled. I haven't added auto-detection, because it'd require a build script.hashbrown::TryReserveError
, because it's already a part of the stable API.std
feature, becauseHashMap
isn't in thealloc
crate.unstable
andrust_1_57
to correct for changes in the more recent nightly Rust versions.I think this change is backwards compatible, and keeps the same MSRV.