a_random_fox@lemmy.ml to Memes@lemmy.mlEnglish · 1 year agoString title = "Choosing a variable type for storing gender";lemmy.mlimagemessage-square18fedilinkarrow-up161arrow-down14file-text
arrow-up157arrow-down1imageString title = "Choosing a variable type for storing gender";lemmy.mla_random_fox@lemmy.ml to Memes@lemmy.mlEnglish · 1 year agomessage-square18fedilinkfile-text
minus-squareSubArcticTundra@beehaw.orglinkfedilinkEnglisharrow-up14·1 year agoNah fam Rust has you covered: enum Gender { Male, Female, Other(str&), }; That said my Rust knowledge is shit
Nah fam Rust has you covered:
enum Gender { Male, Female, Other(str&), };
That said my Rust knowledge is shit