KernelPanic@programming.dev to Programmer Humor@programming.devEnglish · 5 months agoLearning to program in rustprogramming.devvideomessage-square52fedilinkarrow-up1272arrow-down15
arrow-up1267arrow-down1videoLearning to program in rustprogramming.devKernelPanic@programming.dev to Programmer Humor@programming.devEnglish · 5 months agomessage-square52fedilink
minus-squarebeeb@lemmy.ziplinkfedilinkarrow-up5·edit-25 months 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
expectwith a short message of what the assumption is: “the string should contain a comma” if it ever panics you’ll know exactly why.