rust-embedded / heapless

Heapless, `static` friendly data structures
Apache License 2.0
1.56k stars 185 forks source link

Implement Borrow for Vec and String #478

Closed Icelk closed 4 months ago

Icelk commented 5 months ago

This would enable using String as a key in one of the map or set types in this crate. I see no reason as to why that would not be technically possible.

If you want, I can write a PR.

Dirbaio commented 4 months ago

that'd be a nice addition, please send a PR!

Icelk commented 4 months ago

PR in #499 :)