dullbananas (Joseph Silva) to Rust: Memes@lemmyrs.orgEnglish · 1 year agoThis is how Poll should be definedmessage-squaremessage-square1fedilinkarrow-up19arrow-down12file-text
arrow-up17arrow-down1message-squareThis is how Poll should be defineddullbananas (Joseph Silva) to Rust: Memes@lemmyrs.orgEnglish · 1 year agomessage-square1fedilinkfile-text
minus-squarePhlimy@lemmyrs.orglinkfedilinkEnglisharrow-up2·1 year agopub enum Cow<'a, B> { Lowing(&'a B), Mooo(B) }
pub enum Cow<'a, B> { Lowing(&'a B), Mooo(B) }