little_ferris to RustEnglish · edit-21 month agoWhat are some mind blowing Rust tricks?message-squaremessage-square52fedilinkarrow-up168arrow-down12file-text
arrow-up166arrow-down1message-squareWhat are some mind blowing Rust tricks?little_ferris to RustEnglish · edit-21 month agomessage-square52fedilinkfile-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-up5·edit-21 month 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.