• beeb@lemmy.zip
    link
    fedilink
    arrow-up
    6
    ·
    edit-2
    2 days 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.