• magic_lobster_party@fedia.io
    link
    fedilink
    arrow-up
    2
    ·
    22 hours ago

    Static lifetimes confused me when I started learning rust. The error message guides the developer to the wrong direction.

    It took me a while to realize that just using Arc is sufficient in most of those cases.