tokio-rs / slab

Slab allocator for Rust
MIT License
699 stars 84 forks source link

Add method to get vacant key without mutable access #114

Closed binier closed 2 years ago

binier commented 2 years ago

Same as slab.vacant_entry().key() without requiring mutable access.