Manishearth / elsa

Append-only collections for Rust where borrows to entries can outlive insertions
Apache License 2.0
228 stars 33 forks source link

Implement `std::convert::AsMut` instead of "custom" `as_mut` functions #42

Closed Porges closed 1 year ago

Porges commented 1 year ago

This is per a clippy suggestion but seems like a good idea. I think the StableDeref trait is not required here since the mutable reference is guaranteed-unique.