KernelPanic@programming.dev to Programmer Humor@programming.devEnglish · 2 days agoLearning to program in rustprogramming.devvideomessage-square49fedilinkarrow-up1308arrow-down13
arrow-up1305arrow-down1videoLearning to program in rustprogramming.devKernelPanic@programming.dev to Programmer Humor@programming.devEnglish · 2 days agomessage-square49fedilink
minus-squarebeeb@lemmy.ziplinkfedilinkarrow-up5·edit-21 day 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.