KernelPanic to Programmer HumorEnglish · 5 months agoLearning to program in rustvideomessage-square58linkfedilinkarrow-up1322arrow-down15
arrow-up1317arrow-down1videoLearning to program in rustKernelPanic to Programmer HumorEnglish · 5 months agomessage-square58linkfedilink
minus-squarebeeb@lemmy.ziplinkfedilinkarrow-up6·5 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.