kkard2@lemmy.mltoProgrammer Humor@lemmy.ml•Very clever...English
471·
8 months agooh it’s x, not x… i hate our timeline
nope, don’t miss it at all after i got used to vertical
Just started learning C++ :)
my condolences
wait untill you hear “if i remember correctly my email password was {name} {surname} something @ gmail.com… what do you mean that’s not it? why do i even need a password?”…
more “correct” way would be this:
match activity {
AnnouncableActivities::UndoVote(_) => warn!("zebratrace310 SKIP UndoVote"),
AnnouncableActivities::Vote(_) => warn!("zebratrace310A SKIP Vote"),
_ => {
warn!("zebratrace311 send");
AnnounceActivity::send(activity.clone().try_into()?, community, context).await?;
},
}
here it is in the rust book: https://doc.rust-lang.org/stable/book/ch06-02-match.html