you are viewing a single comment's thread
view the rest of the comments
[–] 2 points 1 year 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.

  • source
  • parent