little_ferris to RustEnglish · edit-214 hours agoWhat are some mind blowing Rust tricks?message-squaremessage-square34fedilinkarrow-up151arrow-down12file-text
arrow-up149arrow-down1message-squareWhat are some mind blowing Rust tricks?little_ferris to RustEnglish · edit-214 hours agomessage-square34fedilinkfile-text
If we were to create a Rust version of this page for Haskell, what cool programming techniques would you add to it?
minus-squareInfernaltoastlinkfedilinkarrow-up4·edit-25 hours agoYou can manually implement PartialEq and Eq on an Enum that implements Hash to manually determine how the hashmap keys override/collide with one another.
You can manually implement PartialEq and Eq on an Enum that implements Hash to manually determine how the hashmap keys override/collide with one another.