Posadas [he/him, they/them]@hexbear.net to chapotraphouse@hexbear.netEnglish · 1 month agoIt's called Forbes 30 under 30hexbear.netimagemessage-square32fedilinkarrow-up1135arrow-down10
arrow-up1135arrow-down1imageIt's called Forbes 30 under 30hexbear.netPosadas [he/him, they/them]@hexbear.net to chapotraphouse@hexbear.netEnglish · 1 month agomessage-square32fedilink
minus-squarehuf [he/him]@hexbear.netlinkfedilinkEnglisharrow-up2·1 month agoi dont even know what language this is :D i just thought it’d be a nice bit to silently pass over the racism aspect and nitpick the code
minus-squareProletarianDictator [none/use name]@hexbear.netlinkfedilinkEnglisharrow-up2·1 month agoIt’s Rust. If you omit the semicolon on the last line, it will return that value, so suspect.race() == Race::Black will return true/false for the containing expression.
i dont even know what language this is :D i just thought it’d be a nice bit to silently pass over the racism aspect and nitpick the code
It’s Rust.
If you omit the semicolon on the last line, it will return that value, so
suspect.race() == Race::Black
will return true/false for the containing expression.