minus-squaregomp@lemmy.mlOPtoRust Programming@lemmy.ml•[newbie] Can I specify what subset of errors a function can return?linkfedilinkarrow-up1·22 days agoDifferent functions whose possible failure reasons have a non-empty intersection, but don’t coincide completely (IDK if this clarifies? I think the example code in the OP is clearer) linkfedilink
gomp@lemmy.ml to Rust Programming@lemmy.ml · edit-224 days ago[newbie] Can I specify what subset of errors a function can return?plus-squaremessage-squaremessage-square4fedilinkarrow-up17arrow-down10
arrow-up17arrow-down1message-square[newbie] Can I specify what subset of errors a function can return?plus-squaregomp@lemmy.ml to Rust Programming@lemmy.ml · edit-224 days agomessage-square4fedilink
gomp@lemmy.ml to Rust Programming@lemmy.ml · 3 months ago[newbie] one-liner to avoid "temporary value dropped while borrowed"?plus-squaremessage-squaremessage-square11fedilinkarrow-up115arrow-down10
arrow-up115arrow-down1message-square[newbie] one-liner to avoid "temporary value dropped while borrowed"?plus-squaregomp@lemmy.ml to Rust Programming@lemmy.ml · 3 months agomessage-square11fedilink
minus-squaregomp@lemmy.mltoAsklemmy@lemmy.ml•What factors do you think contributed to the "Reddit Hivemind"? How do you believe it can be avoided?linkfedilinkarrow-up7·4 months agoWhat is that you care to preserve? Can’t you just register a new account and kill the old one? (genuinely curious) linkfedilink
Different functions whose possible failure reasons have a non-empty intersection, but don’t coincide completely (IDK if this clarifies? I think the example code in the OP is clearer)