KernelPanic@programming.dev to Programmer Humor@programming.devEnglish · 1 month agoLearning to program in rustprogramming.devvideomessage-square53fedilinkarrow-up1254arrow-down12
arrow-up1252arrow-down1videoLearning to program in rustprogramming.devKernelPanic@programming.dev to Programmer Humor@programming.devEnglish · 1 month agomessage-square53fedilink
minus-squarebeeb@lemmy.ziplinkfedilinkarrow-up6·edit-21 month 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.