a_random_fox@lemmy.ml to Memes@lemmy.mlEnglish · 1 year agoString title = "Choosing a variable type for storing gender";lemmy.mlimagemessage-square17fedilinkarrow-up162arrow-down14file-text
arrow-up158arrow-down1imageString title = "Choosing a variable type for storing gender";lemmy.mla_random_fox@lemmy.ml to Memes@lemmy.mlEnglish · 1 year agomessage-square17fedilinkfile-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