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.
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.