KernelPanic@programming.dev to Programmer Humor@programming.devEnglish · 1 day agoLearning to program in rustprogramming.devvideomessage-square37fedilinkarrow-up1245arrow-down12
arrow-up1243arrow-down1videoLearning to program in rustprogramming.devKernelPanic@programming.dev to Programmer Humor@programming.devEnglish · 1 day agomessage-square37fedilink
minus-squarebeeb@lemmy.ziplinkfedilinkarrow-up2·edit-211 hours agoEven better to use expect with a short message of what the assumption is: “the string should contain a comma” if it ever panics you’ll know exactly why.
Even better to use
expect
with a short message of what the assumption is: “the string should contain a comma” if it ever panics you’ll know exactly why.