• beeb@lemmy.zip
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    15 hours ago

    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.