KernelPanic@programming.dev to Programmer Humor@programming.devEnglish · 7 days agoLearning to program in rustprogramming.devvideomessage-square54linkfedilinkarrow-up1195arrow-down14
arrow-up1191arrow-down1videoLearning to program in rustprogramming.devKernelPanic@programming.dev to Programmer Humor@programming.devEnglish · 7 days agomessage-square54linkfedilink
minus-squarebeeb@lemmy.ziplinkfedilinkarrow-up5·edit-26 days 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.