You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
choznerol
changed the title
Make get/get_mut/remove of HashMap more flexible with Borrow trait
[WIP] Make get/get_mut/remove of HashMap more flexible with Borrow trait
Sep 25, 2018
choznerol
changed the title
[WIP] Make get/get_mut/remove of HashMap more flexible with Borrow trait
[WIP] Make get/get_mut/remove in HashMap more flexible with Borrow trait
Sep 25, 2018
by completing this TODO, somewhere I'll need to add, for example HashMap<String, String>. Should I just follow the style in SinglyLinkList and update the tests in HashMap, or maybe there are some preferred testing style ?
Yeah, you're welcome to take the borrow trait task.
As for the testing style, my preference is no preference. Anything making code more clearer is acceptable. If there is some room to improve, just go for it!
choznerol
changed the title
[WIP] Make get/get_mut/remove in HashMap more flexible with Borrow trait
Make get/get_mut/remove in HashMap more flexible with Borrow trait
Sep 30, 2018
I noticed the TODO message along with the helpful hints in the HashMap implementation:
rust-algorithm-club/src/collections/hash_map/mod.rs
Lines 61 to 86 in 188bb59
if it's not currently under development, I would love to give it a try!
The text was updated successfully, but these errors were encountered: