Posadas [he/him, they/them]@hexbear.net to chapotraphouse@hexbear.netEnglish · 24 days 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 · 24 days agomessage-square32fedilink
minus-squareProletarianDictator [none/use name]@hexbear.netlinkfedilinkEnglisharrow-up2·23 days agoyou dont need the return statement either
minus-squarehuf [he/him]@hexbear.netlinkfedilinkEnglisharrow-up2·23 days 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·21 days 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.
you dont need the return statement either
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.