JPDev@programming.dev to Programmer Humor@programming.dev · 9 months agoifn'tprogramming.devimagemessage-square108fedilinkarrow-up1695
arrow-up1685imageifn'tprogramming.devJPDev@programming.dev to Programmer Humor@programming.dev · 9 months agomessage-square108fedilink
minus-squareSubArcticTundra@lemmy.mllinkfedilinkarrow-up3·9 months agoOoh yes. Rust is king when it comes to this sort of inline stuff. Inline match. Mmmmmm!
Or a rust “if let”
Ooh yes. Rust is king when it comes to this sort of inline stuff. Inline
match
. Mmmmmm!