little_ferris@programming.dev to Rust@programming.devEnglish · edit-210 months agoWhat are some mind blowing Rust tricks?message-squaremessage-square47linkfedilinkarrow-up11arrow-down10file-text
arrow-up11arrow-down1message-squareWhat are some mind blowing Rust tricks?little_ferris@programming.dev to Rust@programming.devEnglish · edit-210 months agomessage-square47linkfedilinkfile-text
If we were to create a Rust version of this page for Haskell, what cool programming techniques would you add to it?
minus-squareInfernaltoast@programming.devlinkfedilinkarrow-up0·edit-210 months 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.